Skip to content

Commit

Permalink
Fix: Logger error and warn output (fixes #198) (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfoster authored Oct 9, 2023
1 parent c0777a7 commit cbf473e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ export default {
this.write(args.join(' '))
},
warn (...args) {
chalk.yellow(...args)
this.log(chalk.yellow(...args))
},
error (...args) {
chalk.red(...args)
this.log(chalk.red(...args))
},
log (...args) {
if (this.isLoggingProgress) {
Expand Down

0 comments on commit cbf473e

Please sign in to comment.