Merge pull request #40 from MillenniumEarl/deepsource-transform-0489cd97

Format code with prettier
pull/41/head
Millennium Earl 2020-10-22 15:35:42 +02:00 committed by GitHub
commit 3556e91b7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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) {