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/
pull/21/head
deepsource-autofix[bot] 2020-10-14 14:05:14 +00:00 committed by GitHub
parent d996807c4e
commit 23f7d49d60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -290,7 +290,7 @@ async function parsePrefixes(page, info) {
async function getLastChangelog(page) { async function getLastChangelog(page) {
// Gets the first post, where are listed all the game's informations // Gets the first post, where are listed all the game's informations
let post = (await page.$$(selectors.THREAD_POSTS))[0]; let post = (await page.$$(selectors.THREAD_POSTS))[0];
let spoiler = await post.$(selectors.THREAD_LAST_CHANGELOG); let spoiler = await post.$(selectors.THREAD_LAST_CHANGELOG);
let changelogHTML = await page.evaluate( let changelogHTML = await page.evaluate(
/* istanbul ignore next */ /* istanbul ignore next */

View File

@ -37,9 +37,9 @@ module.exports.getSearchGameResults = async function (browser, gamename) {
page.click(selectors.SEARCH_BUTTON), // Execute search page.click(selectors.SEARCH_BUTTON), // Execute search
page.waitForNavigation({ page.waitForNavigation({
waitUntil: shared.WAIT_STATEMENT, waitUntil: shared.WAIT_STATEMENT,
}) // Wait for page to load }), // Wait for page to load
]); ]);
// Select all conversation titles // Select all conversation titles
let resultsThread = await page.$$(selectors.SEARCH_THREADS_RESULTS_BODY); let resultsThread = await page.$$(selectors.SEARCH_THREADS_RESULTS_BODY);