From fd1b98b58afdca4cde20abc9d296ba392f03cd28 Mon Sep 17 00:00:00 2001 From: Vladimir Matveev Date: Thu, 13 Oct 2016 10:41:31 -0700 Subject: [PATCH] return result from SetCompilerOptionsForInferredProject request --- src/server/session.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server/session.ts b/src/server/session.ts index 9ab2a2c0ec9..17c824636a0 100644 --- a/src/server/session.ts +++ b/src/server/session.ts @@ -1499,7 +1499,8 @@ namespace ts.server { return this.requiredResponse(this.getDocumentHighlights(request.arguments, /*simplifiedResult*/ false)); }, [CommandNames.CompilerOptionsForInferredProjects]: (request: protocol.SetCompilerOptionsForInferredProjectsRequest) => { - return this.requiredResponse(this.setCompilerOptionsForInferredProjects(request.arguments)); + this.setCompilerOptionsForInferredProjects(request.arguments); + return this.requiredResponse(true); }, [CommandNames.ProjectInfo]: (request: protocol.ProjectInfoRequest) => { return this.requiredResponse(this.getProjectInfo(request.arguments));