mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
Pass validateDefaultNpmLocation to ts 3.4.4
https://github.com/Microsoft/TypeScript/pull/30910/
This commit is contained in:
@@ -209,6 +209,10 @@ export class TypeScriptServerSpawner {
|
||||
args.push('--noGetErrOnBackgroundUpdate');
|
||||
}
|
||||
|
||||
if (apiVersion.gte(API.v344)) {
|
||||
args.push('--validateDefaultNpmLocation');
|
||||
}
|
||||
|
||||
return { args, cancellationPipeName, tsServerLogFile };
|
||||
}
|
||||
|
||||
|
||||
@@ -36,6 +36,7 @@ export default class API {
|
||||
public static readonly v330 = API.fromSimpleString('3.3.0');
|
||||
public static readonly v333 = API.fromSimpleString('3.3.3');
|
||||
public static readonly v340 = API.fromSimpleString('3.4.0');
|
||||
public static readonly v344 = API.fromSimpleString('3.4.4');
|
||||
public static readonly v350 = API.fromSimpleString('3.5.0');
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user