Format code with prettier
This commit fixes the style issues introduced in d0c1ace
according to the output
from prettier.
Details: https://deepsource.io/gh/MillenniumEarl/F95API/transform/048f934f-c8c9-43e6-9474-ff3e3ec8c687/
pull/23/head
parent
d0c1acebc4
commit
de4df9a80b
|
@ -292,9 +292,9 @@ 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);
|
||||||
if(!spoiler) return null;
|
if (!spoiler) return null;
|
||||||
|
|
||||||
let changelogHTML = await page.evaluate(
|
let changelogHTML = await page.evaluate(
|
||||||
/* istanbul ignore next */
|
/* istanbul ignore next */
|
||||||
|
|
Loading…
Reference in New Issue