From cbf473e24f6e9309b3934cd644ac152ef1f989a6 Mon Sep 17 00:00:00 2001 From: Oliver Foster Date: Mon, 9 Oct 2023 11:48:57 +0100 Subject: [PATCH] Fix: Logger error and warn output (fixes #198) (#199) --- lib/logger.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {