提交 2e14dce0 编写于 作者: J Johannes Rieken

make sure to use fsPath when populating the extension index #55340

上级 c0041e15
...@@ -243,7 +243,7 @@ export class ExtHostExtensionService implements ExtHostExtensionServiceShape { ...@@ -243,7 +243,7 @@ export class ExtHostExtensionService implements ExtHostExtensionServiceShape {
if (!ext.main) { if (!ext.main) {
return undefined; return undefined;
} }
return realpath(ext.extensionLocation.fsPath).then(value => tree.set(value, ext)); return realpath(ext.extensionLocation.fsPath).then(value => tree.set(URI.file(value).fsPath, ext));
}); });
this._extensionPathIndex = TPromise.join(extensions).then(() => tree); this._extensionPathIndex = TPromise.join(extensions).then(() => tree);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册