Skip to content

Commit e3e37b5

Browse files
committed
Fix linter error.
1 parent e3f59aa commit e3e37b5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Extension/src/LanguageServer/client.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2320,11 +2320,10 @@ export class DefaultClient implements Client {
23202320

23212321
// Don't cancel if the result has already been computed, because the result might still be usable
23222322
// without needing to send an unnecessary re-request, which is the case for the callback to registerRelatedFilesProvider.
2323-
/*
23242323
if (token.isCancellationRequested) {
2325-
throw new vscode.CancellationError();
2324+
return result;
2325+
// throw new vscode.CancellationError();
23262326
}
2327-
*/
23282327

23292328
return result;
23302329
}

0 commit comments

Comments
 (0)