mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
Gate pluginProbeLocations to only global ts installs
This commit is contained in:
@@ -573,7 +573,9 @@ export default class TypeScriptServiceClient implements ITypescriptServiceClient
|
||||
const plugins = this.getContributedTypeScriptServerPlugins();
|
||||
if (plugins.length) {
|
||||
args.push('--globalPlugins', plugins.map(x => x.name).join(','));
|
||||
args.push('--pluginProbeLocations', plugins.map(x => x.path).join(','));
|
||||
if (modulePath === this.globalTypescriptPath) {
|
||||
args.push('--pluginProbeLocations', plugins.map(x => x.path).join(','));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user