lib/util.js
function classifyFile (file) {
    return stat(file).then(({ err, stats }) => {
      if (err) {
        if (err.code === 'ENOENT') {
          missingFiles.push(file)
        } else {
          throw err
        }
      } else {
        foundFiles.push(file)
      }
    })
  }
function classifyFile (file) {
    return stat(file).then(({ err, stats }) => {
      if (err) {
        if (err.code === 'ENOENT') {
          missingFiles.push(file)
        } else {
          throw err
        }
      } else {
        foundFiles.push(file)
      }
    })
  }
function classifyFile ( file ) { return stat ( file ) . then ( ( { err , stats } ) => { if ( err ) { if ( err . code === 'ENOENT' ) { missingFiles . push ( file ) } else { throw err } } else { foundFiles . push ( file ) } } ) }
Add the file to the foundFiles or missingFiles arrays based on their existance.
Add the file to the foundFiles or missingFiles arrays based on their existance .