提交 38dd5cae 编写于 作者: M Matt Bierner

Remove extra error logging for compilerOptionsForInferredProjects

上级 7895b181
...@@ -469,9 +469,7 @@ export default class TypeScriptServiceClient implements ITypescriptServiceClient ...@@ -469,9 +469,7 @@ export default class TypeScriptServiceClient implements ITypescriptServiceClient
const args: Proto.SetCompilerOptionsForInferredProjectsArgs = { const args: Proto.SetCompilerOptionsForInferredProjectsArgs = {
options: this.getCompilerOptionsForInferredProjects(configuration) options: this.getCompilerOptionsForInferredProjects(configuration)
}; };
this.execute('compilerOptionsForInferredProjects', args, true).catch((err) => { this.execute('compilerOptionsForInferredProjects', args, true);
this.error(`'compilerOptionsForInferredProjects' request failed with error.`, err);
});
} }
private getCompilerOptionsForInferredProjects(configuration: TypeScriptServiceConfiguration): Proto.ExternalProjectCompilerOptions { private getCompilerOptionsForInferredProjects(configuration: TypeScriptServiceConfiguration): Proto.ExternalProjectCompilerOptions {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册