From 669b5ecb28eaaabd0d597e85c34936e88ab7bf37 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Thu, 27 Apr 2017 12:05:49 -0700 Subject: [PATCH] Gate pluginProbeLocations to only global ts installs --- extensions/typescript/src/typescriptServiceClient.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/typescript/src/typescriptServiceClient.ts b/extensions/typescript/src/typescriptServiceClient.ts index c90616f632a..78252498fc7 100644 --- a/extensions/typescript/src/typescriptServiceClient.ts +++ b/extensions/typescript/src/typescriptServiceClient.ts @@ -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(',')); + } } } -- GitLab