From 47eff44da0ffc6b6328ab1d4f7657d4a098bda25 Mon Sep 17 00:00:00 2001 From: Paul LeMarquand Date: Mon, 2 Dec 2024 08:26:25 -0500 Subject: [PATCH] Fixup newly uncovered lint error (#1223) The eslint-plugin version bump in #1222 uncovered some dead code that has no effect. Remove it so that we can rebase the @dependabot patch and update eslint-plugin. --- src/TestExplorer/TestRunner.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/TestExplorer/TestRunner.ts b/src/TestExplorer/TestRunner.ts index 51cde990d..fe736bf8f 100644 --- a/src/TestExplorer/TestRunner.ts +++ b/src/TestExplorer/TestRunner.ts @@ -670,12 +670,7 @@ export class TestRunner { outputStream.write(replaced); }); - let cancellation: vscode.Disposable; task.execution.onDidClose(code => { - if (cancellation) { - cancellation.dispose(); - } - // undefined or 0 are viewed as success if (!code) { resolve();