提交 f56b18a9 编写于 作者: M Matt Bierner

Pass validateDefaultNpmLocation to ts 3.4.4

https://github.com/Microsoft/TypeScript/pull/30910/
上级 ac8f6b04
......@@ -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');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册