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

This commit is contained in:
Johannes Rieken
2018-09-17 12:16:46 +02:00
parent c0041e15be
commit 2e14dce0d5

View File

@@ -243,7 +243,7 @@ export class ExtHostExtensionService implements ExtHostExtensionServiceShape {
if (!ext.main) {
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);
}