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/
pull/24/head
parent
03660d3a72
commit
01ef304afb
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue