igor-i/project-lvl3-s170

View on GitHub

Showing 1 of 1 total issue

Function loadAndWriteSrcFiles has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const loadAndWriteSrcFiles = (srcLinks, pathToSrcDir, url, html) => {
  log('start asynchronous loading and writing sources files');
  return axios.all(srcLinks.map((srcLink) => {
    const tasks = new Listr([{
      title: `Loading a source ${srcLink}`,
Severity: Minor
Found in src/index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language