Skip to content

Commit

Permalink
Revert "fix: gradle warning color"
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Barber authored Dec 30, 2022
1 parent 4f62f41 commit f50dd76
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,6 @@ consoul.log = function (level, msg, meta, callback) {
this.colorize || (msg = msg.stripColors);

if (this.colorize) {

// move gradle warnings into warn level instead of error
if (msg.includes('[GRADLE] Warning:')) {
level = 'warn';
}

if (level === 'warn') {
msg = msg.stripColors.yellow;
} else if (level === 'error') {
Expand Down

0 comments on commit f50dd76

Please sign in to comment.