提交 21bb4026 编写于 作者: M Matt Bierner

Fix projectInfo call signature for TS 3.0

上级 e49f6543
......@@ -9,6 +9,7 @@ import TypeScriptServiceClientHost from './typeScriptServiceClientHost';
import { Command } from './utils/commandManager';
import { Lazy } from './utils/lazy';
import { isImplicitProjectConfigFile, openOrCreateConfigFile } from './utils/tsconfig';
import { nulToken } from './utils/cancellation';
const localize = nls.loadMessageBundle();
......@@ -131,7 +132,7 @@ async function goToProjectConfig(
let res: protocol.ProjectInfoResponse | undefined = undefined;
try {
res = await client.execute('projectInfo', { file, needFileNameList: false } as protocol.ProjectInfoRequestArgs);
res = await client.execute('projectInfo', { file, needFileNameList: false }, nulToken);
} catch {
// noop
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册