From 4226f74f6ae69b6ab5f7aad87dde2a1eaacaec8c Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 16 Jan 2021 17:29:13 -0500 Subject: [PATCH] Fix lint --- commands/games-sp/minesweeper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-sp/minesweeper.js b/commands/games-sp/minesweeper.js index 36867f2b..0cbb2d2c 100644 --- a/commands/games-sp/minesweeper.js +++ b/commands/games-sp/minesweeper.js @@ -36,7 +36,7 @@ module.exports = class MinesweeperCommand extends Command { let win = null; game.onWin = () => { win = true; }; game.onLoss = () => { win = false; }; - let flagged = []; + const flagged = []; while (win === null) { await msg.say(stripIndents` ${msg.author}, what coordinates do you pick (ex. 4,5)? Type \`end\` to forefeit.