if (errs > 0) {
    output += `  ${logSymbols.error}  ${errs} ${errs > 1 ? 'errors' : 'error'}`;

    if (typeof maxErrors === 'number') {
      output += ` (Max Errors: ${maxErrors})`;