From f422d9b63032198b9f84c6933a6b01417838eb07 Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 14 Sep 2021 13:51:54 +0100 Subject: [PATCH] fixed lint warnings --- src/js/test/test-logic.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/js/test/test-logic.js b/src/js/test/test-logic.js index d6ca8a6eb..874225554 100644 --- a/src/js/test/test-logic.js +++ b/src/js/test/test-logic.js @@ -42,6 +42,8 @@ const objecthash = require("object-hash"); let glarsesMode = false; +let failReason = ""; + export function toggleGlarses() { glarsesMode = true; console.log( @@ -661,6 +663,7 @@ export async function init() { !CustomText.isWordRandom && !CustomText.isTimeRandom ) { + // } else { i = words.length - 1; } @@ -2147,7 +2150,6 @@ export async function finish(difficultyFailed = false) { ); } -let failReason = ""; export function fail(reason) { failReason = reason; // input.pushHistory();