From e3e37b533cf61a430393f7131e39df71517a58f2 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Thu, 21 Nov 2024 19:11:38 -0800 Subject: [PATCH] Fix linter error. --- Extension/src/LanguageServer/client.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Extension/src/LanguageServer/client.ts b/Extension/src/LanguageServer/client.ts index 70746c9985..023d0930a3 100644 --- a/Extension/src/LanguageServer/client.ts +++ b/Extension/src/LanguageServer/client.ts @@ -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; }