Skip to content

Commit cbf473e

Browse files
authored
Fix: Logger error and warn output (fixes #198) (#199)
1 parent c0777a7 commit cbf473e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/logger.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ export default {
99
this.write(args.join(' '))
1010
},
1111
warn (...args) {
12-
chalk.yellow(...args)
12+
this.log(chalk.yellow(...args))
1313
},
1414
error (...args) {
15-
chalk.red(...args)
15+
this.log(chalk.red(...args))
1616
},
1717
log (...args) {
1818
if (this.isLoggingProgress) {

0 commit comments

Comments
 (0)