Skip to content

Commit 27597db

Browse files
committed
Fix flaky test by actually awaiting result inside try/catch
1 parent 2882247 commit 27597db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lsptoolshost/services/projectContextService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export class ProjectContextService {
104104
const textDocument = TextDocumentIdentifier.create(uriString);
105105

106106
try {
107-
return this._languageServer.sendRequest(
107+
return await this._languageServer.sendRequest(
108108
VSGetProjectContextsRequest.type,
109109
{ _vs_textDocument: textDocument },
110110
token

0 commit comments

Comments
 (0)