fixed lint warnings

This commit is contained in:
Jack 2021-09-14 13:51:54 +01:00
parent c9367c79f2
commit f422d9b630

View file

@ -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();