diff --git a/lib/logger.js b/lib/logger.js index ace74ca..c1637e8 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -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) {