Skip to content

Commit 34cdd35

Browse files
kyliauKeen Yee Liau
authored andcommitted
fix: resolve @angular/language-service from root node_module
All dependencies are now listed in root node_modules, so we should not resolve `@angular/language-service` from `server`.
1 parent df06b36 commit 34cdd35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function constructArgs(ctx: vscode.ExtensionContext, debug: boolean): string[] {
145145
}
146146

147147
const ngdk: string|null = config.get('angular.ngdk', null);
148-
const ngProbeLocations = getProbeLocations(ngdk, ctx.asAbsolutePath('server'));
148+
const ngProbeLocations = getProbeLocations(ngdk, ctx.extensionPath);
149149
args.push('--ngProbeLocations', ngProbeLocations.join(','));
150150

151151
const experimentalIvy: boolean = config.get('angular.experimental-ivy', false);

0 commit comments

Comments
 (0)