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)`);