Skip to content

Commit

Permalink
Fix linter error.
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-mcmanus committed Nov 22, 2024
1 parent e3f59aa commit e3e37b5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Extension/src/LanguageServer/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2320,11 +2320,10 @@ export class DefaultClient implements Client {

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

return result;
}
Expand Down

0 comments on commit e3e37b5

Please sign in to comment.