Skip to content

Commit dd26822

Browse files
committed
Merge pull request #11594 from Microsoft/vladima/fix-11590
return result from SetCompilerOptionsForInferredProject request
1 parent 7060f51 commit dd26822

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/server/session.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1590,7 +1590,8 @@ namespace ts.server {
15901590
return this.requiredResponse(this.getDocumentHighlights(request.arguments, /*simplifiedResult*/ false));
15911591
},
15921592
[CommandNames.CompilerOptionsForInferredProjects]: (request: protocol.SetCompilerOptionsForInferredProjectsRequest) => {
1593-
return this.requiredResponse(this.setCompilerOptionsForInferredProjects(request.arguments));
1593+
this.setCompilerOptionsForInferredProjects(request.arguments);
1594+
return this.requiredResponse(true);
15941595
},
15951596
[CommandNames.ProjectInfo]: (request: protocol.ProjectInfoRequest) => {
15961597
return this.requiredResponse(this.getProjectInfo(request.arguments));

0 commit comments

Comments
 (0)