Skip to content

Commit

Permalink
Merge pull request #612 from tidev/revert-611-221230_gradle_Warning
Browse files Browse the repository at this point in the history
Revert "fix: gradle warning color"
  • Loading branch information
cb1kenobi authored Dec 30, 2022
2 parents 4f62f41 + f50dd76 commit 2618b0e
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 2618b0e

Please sign in to comment.