Format code with prettier

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

Details: https://deepsource.io/gh/MillenniumEarl/F95API/transform/993626fc-2360-435e-bdd4-3953d601146a/
pull/38/head
deepsource-autofix[bot] 2020-10-22 11:51:25 +00:00 committed by GitHub
parent 70cfa36b4f
commit f838c5cc68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -55,7 +55,9 @@ module.exports.getGameInfo = async function (browser, url) {
info.tags = await tags;
info.f95url = await redirectUrl;
info.overview = overview;
info.version = info.isMod ? cleanFSString(parsedInfos.MOD_VERSION) : cleanFSString(parsedInfos.VERSION);
info.version = info.isMod
? cleanFSString(parsedInfos.MOD_VERSION)
: cleanFSString(parsedInfos.VERSION);
info.lastUpdate = info.isMod
? parsedInfos.UPDATED
: parsedInfos.THREAD_UPDATED;