提交 98d11f1d 编写于 作者: M Matt Bierner

Fix build

上级 95c4f471
......@@ -174,7 +174,9 @@ export function activate(context: vscode.ExtensionContext) {
return tryOpen(args.path + '.md');
}
const resource = vscode.Uri.file(args.path);
return vscode.commands.executeCommand('vscode.open', resource);
return Promise.resolve(void 0)
.then(() => vscode.commands.executeCommand('vscode.open', resource))
.then(() => void 0);
});
}));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册