Format code with prettier

This commit fixes the style issues introduced in e30728b according to the output
from prettier.

Details: https://deepsource.io/gh/MillenniumEarl/F95API/transform/075afe6c-3c63-4bd3-9866-78b555209044/
pull/29/head
deepsource-autofix[bot] 2020-10-16 07:45:45 +00:00 committed by GitHub
parent e30728bde5
commit aa31215b4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -54,9 +54,7 @@ module.exports.getGameInfo = async function (browser, url) {
info.overview = overview; info.overview = overview;
info.tags = await tags; info.tags = await tags;
info.f95url = url; info.f95url = url;
info.version = info.isMod info.version = info.isMod ? parsedInfos["MOD VERSION"] : parsedInfos.VERSION;
? parsedInfos["MOD VERSION"]
: parsedInfos.VERSION;
info.lastUpdate = info.isMod info.lastUpdate = info.isMod
? parsedInfos.UPDATED ? parsedInfos.UPDATED
: parsedInfos["THREAD UPDATED"]; : parsedInfos["THREAD UPDATED"];