Format code with prettier
This commit fixes the style issues introduced in 7a8445b
according to the output
from prettier.
Details: https://deepsource.io/gh/MillenniumEarl/F95API/transform/3c443034-2df4-439e-85aa-16c8b3043332/
pull/39/head
parent
7a8445ba2d
commit
f89a2ed177
|
@ -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