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
parent
d996807c4e
commit
23f7d49d60
|
@ -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 */
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue