Skip to content

Commit

Permalink
Fixup newly uncovered lint error (#1223)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
plemarquand authored Dec 2, 2024
1 parent c466b00 commit 47eff44
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/TestExplorer/TestRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 47eff44

Please sign in to comment.