code: function handleResolved(resolvedValues) {
    const saved = [];
    const errors = [];
  
    resolvedValues.forEach(value => {
      if (value.err) {
        errors.push(value);
      } else {
        saved.push(value[0]);
      }
    });
  
    if (saved.length) {
      logger.info(chalk.green('\n✓ Reports saved:'));
      logger.info(saved.map(savedFile => `${chalk.underline(savedFile)}`).join('\n'));
    }
  
    if (errors.length) {
      logger.info(chalk.red('\n✘ Some files could not be processed:'));
      logger.info(errors
        .map(e => `${chalk.underline(e.filename)}\n${chalk.dim(e.err)}`)
        .join('\n\n'));
      process.exitCode = 1;
    }
  
    if (!validFiles && !errors.length) {
      logger.info(chalk.yellow('\nDid not find any JSON files to process.'));
      process.exitCode = 1;
    }
  
    return resolvedValues;
  }
docs: Loop through resolved promises to log the appropriate messages
  
  @param {Array} resolvedValues Result of promise.all
  
  @return {Array} Array of resolved promise values