utils/index.js
function printErrors(summary, errors) {
  logError(`${summary}\n`);

  errors.forEach(err => {
    logError(`\t- ${err.message || err}`);
  });

  console.log();
}
function printErrors(summary, errors) {
  logError(`${summary}\n`);

  errors.forEach(err => {
    logError(`\t- ${err.message || err}`);
  });

  console.log();
}
function printErrors ( summary , errors ) { logError ( ` ${ summary } \n ` ) ; errors . forEach ( err => { logError ( ` \t ${ err . message || err } ` ) ; } ) ; console . log ( ) ; }
Print out a list of errors to the terminal.
Print out a list of errors to the terminal .