From 893e363e5b4dd83623e93656a7a0432eb02c0ed3 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 28 Oct 2020 18:13:06 -0400 Subject: [PATCH] Fix lint --- commands/games-sp/whos-that-pokemon.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/commands/games-sp/whos-that-pokemon.js b/commands/games-sp/whos-that-pokemon.js index 27bc1a41..0f307a8c 100644 --- a/commands/games-sp/whos-that-pokemon.js +++ b/commands/games-sp/whos-that-pokemon.js @@ -89,7 +89,9 @@ module.exports = class WhosThatPokemonCommand extends Command { const name = `${pokemon.id}${hide ? '-hidden' : ''}.png`; const image = await request.get(pokemon.spriteImageURL); const file = hide ? 'hidden' : 'show'; - const bg = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'whos-that-pokemon', `${file}.png`)); + const bg = await loadImage( + path.join(__dirname, '..', '..', 'assets', 'images', 'whos-that-pokemon', `${file}.png`) + ); const pkmn = await loadImage(image.body); const canvas = createCanvas(bg.width, bg.height); const ctx = canvas.getContext('2d');