Merge pull request #40 from MillenniumEarl/deepsource-transform-0489cd97
Format code with prettierpull/41/head
commit
3556e91b7c
|
@ -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