From 23f7d49d60e2e432a072f2935571df3cb2bc0286 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Wed, 14 Oct 2020 14:05:14 +0000 Subject: [PATCH] Format code with prettier This commit fixes the style issues introduced in d996807 according to the output from prettier. Details: https://deepsource.io/gh/MillenniumEarl/F95API/transform/a73c0d76-889e-4524-903b-6dffa512afe7/ --- app/scripts/game-scraper.js | 2 +- app/scripts/game-searcher.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/scripts/game-scraper.js b/app/scripts/game-scraper.js index 57c7a8d..016f400 100644 --- a/app/scripts/game-scraper.js +++ b/app/scripts/game-scraper.js @@ -290,7 +290,7 @@ 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); let changelogHTML = await page.evaluate( /* istanbul ignore next */ diff --git a/app/scripts/game-searcher.js b/app/scripts/game-searcher.js index d34f97c..5454a26 100644 --- a/app/scripts/game-searcher.js +++ b/app/scripts/game-searcher.js @@ -37,9 +37,9 @@ module.exports.getSearchGameResults = async function (browser, gamename) { page.click(selectors.SEARCH_BUTTON), // Execute search page.waitForNavigation({ waitUntil: shared.WAIT_STATEMENT, - }) // Wait for page to load + }), // Wait for page to load ]); - + // Select all conversation titles let resultsThread = await page.$$(selectors.SEARCH_THREADS_RESULTS_BODY);