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