Merge pull request #24 from MillenniumEarl/deepsource-transform-41f13460

Format code with prettier
pull/25/head
Millennium Earl 2020-10-15 18:00:08 +02:00 committed by GitHub
commit 047861d9f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 */