Skip to content

Commit

Permalink
feat: small readability improvement on the summary
Browse files Browse the repository at this point in the history
  • Loading branch information
helio-frota committed Nov 23, 2021
1 parent 79559fa commit 80996e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ module.exports = {

results.forEach((log, index) => {
if (log.type === 'error') {
console.log(chalk.red(`\n(${index + 1}): ${log.reason}`));
console.log(chalk.red(`(${index + 1}): ${log.reason}`, '- ERROR'));
} else {
console.log(chalk.yellow(`\n(${index + 1}): ${log.reason}`));
console.log(chalk.yellow(`(${index + 1}): ${log.reason}`));
}
});

Expand Down

0 comments on commit 80996e7

Please sign in to comment.