From 0edc6ff47b6c986fc9dea769c80b182bec89f4c8 Mon Sep 17 00:00:00 2001 From: Filip Pospisil Date: Mon, 29 Apr 2024 09:26:58 +0200 Subject: [PATCH] FUSETOOLS2-2304: Change code to match new rules --- src/components/workbench/Input.ts | 1 + src/conditions/Repeat.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/workbench/Input.ts b/src/components/workbench/Input.ts index 8904d14..378eeca 100644 --- a/src/components/workbench/Input.ts +++ b/src/components/workbench/Input.ts @@ -1,5 +1,6 @@ import { InputBox, QuickOpenBox, QuickPickItem } from "vscode-extension-tester"; +// eslint-disable-next-line @typescript-eslint/no-unused-vars interface InputTestProperties { text?: string; message?: string; diff --git a/src/conditions/Repeat.ts b/src/conditions/Repeat.ts index 6c94de0..3fe59a7 100644 --- a/src/conditions/Repeat.ts +++ b/src/conditions/Repeat.ts @@ -88,7 +88,7 @@ class RepeatManager { } abortAll(): void { - for (const [_, repeat] of this._repeats.entries()) { + for (const [index, repeat] of this._repeats.entries()) { repeat.abort(undefined); this.remove(repeat); }