From 4da671b878f319a251bd63b3902ef7d452353f4e Mon Sep 17 00:00:00 2001 From: Chris Barber Date: Wed, 10 Jan 2024 14:02:43 -0600 Subject: [PATCH] Use normal logger for hooks --- src/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.js b/src/cli.js index 191cbd99..51934d24 100644 --- a/src/cli.js +++ b/src/cli.js @@ -1159,7 +1159,7 @@ export class CLI { appc = (await import(nodeAppc)).default; } if (typeof mod.init === 'function') { - mod.init(this.debugLogger, this.config, this, appc); + mod.init(this.logger, this.config, this, appc); } this.hooks.loadedFilenames.push(file); this.debugLogger.trace(`Loaded CLI hook: ${file} (${Date.now() - startTime} ms)`);