Format code with prettier
This commit fixes the style issues introduced in 5e6db7c
according to the output
from prettier.
Details: https://deepsource.io/gh/MillenniumEarl/F95API/transform/45f84ed0-28ed-4ede-9c40-950cb22c1929/
pull/40/head
parent
5e6db7c6b5
commit
a57439f7e6
|
@ -45,7 +45,7 @@ module.exports.getGameInfo = async function (browser, url) {
|
||||||
info = await parsePrefixes(page, info); // Fill status/engines/isMod
|
info = await parsePrefixes(page, info); // Fill status/engines/isMod
|
||||||
const structuredText = await getMainPostStructuredText(page);
|
const structuredText = await getMainPostStructuredText(page);
|
||||||
const overview = getOverview(structuredText, info.isMod);
|
const overview = getOverview(structuredText, info.isMod);
|
||||||
|
|
||||||
const parsedInfos = parseConversationPage(structuredText);
|
const parsedInfos = parseConversationPage(structuredText);
|
||||||
const previewSource = getGamePreviewSource(page);
|
const previewSource = getGamePreviewSource(page);
|
||||||
const changelog = getLastChangelog(page);
|
const changelog = getLastChangelog(page);
|
||||||
|
@ -108,7 +108,7 @@ module.exports.getGameVersionFromTitle = async function (browser, info) {
|
||||||
//#region Private methods
|
//#region Private methods
|
||||||
/**
|
/**
|
||||||
* Clean a string from invalid File System chars.
|
* Clean a string from invalid File System chars.
|
||||||
* @param {String} s
|
* @param {String} s
|
||||||
* @returns {String}
|
* @returns {String}
|
||||||
*/
|
*/
|
||||||
function cleanFSString(s) {
|
function cleanFSString(s) {
|
||||||
|
|
Loading…
Reference in New Issue