mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 05:17:51 +08:00
fixed lint warnings
This commit is contained in:
parent
c9367c79f2
commit
f422d9b630
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue