Showing 1 of 1 total issue
Function pageLoader
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const pageLoader = (pageURL, pathToMainDir) => {
logDebug(`Page URL - ${pageURL}`);
const nameOfFileForPage = makeFileOrDirNameByLink(pageURL, 'fileForPage');
const pathToFileForPage = makePathToFileOrDir(pathToMainDir, nameOfFileForPage);
logDebug(`Path to file for content of page - ${pathToFileForPage}`);