From 01ef304afbe05aab42451a7b574f533d7bcfeb03 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Thu, 15 Oct 2020 15:09:29 +0000 Subject: [PATCH] Format code with prettier This commit fixes the style issues introduced in 03660d3 according to the output from prettier. Details: https://deepsource.io/gh/MillenniumEarl/F95API/transform/55e6c967-a160-43ff-afb8-f7c9272e75a8/ --- app/scripts/game-scraper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scripts/game-scraper.js b/app/scripts/game-scraper.js index fe4e667..b4bec0b 100644 --- a/app/scripts/game-scraper.js +++ b/app/scripts/game-scraper.js @@ -292,9 +292,9 @@ async function parsePrefixes(page, info) { async function getLastChangelog(page) { // Gets the first post, where are listed all the game's informations let post = (await page.$$(selectors.THREAD_POSTS))[0]; - + let spoiler = await post.$(selectors.THREAD_LAST_CHANGELOG); - if(!spoiler) return null; + if (!spoiler) return null; let changelogHTML = await page.evaluate( /* istanbul ignore next */