提交 5ca19df5 编写于 作者: J Johannes Rieken

fix extension path issue

上级 a70d2b63
......@@ -451,9 +451,9 @@ function createExtensionPathIndex(extensionService: ExtHostExtensionService): TP
return new TPromise((resolve, reject) => {
realpath(ext.extensionFolderPath, (err, path) => {
if (err) {
trie.insert(path, ext);
reject(err);
} else {
trie.insert(path, ext);
resolve(void 0);
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册