Skip to content

Commit

Permalink
Use normal logger for hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
cb1kenobi committed Jan 10, 2024
1 parent 459381f commit 4da671b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)`);
Expand Down

0 comments on commit 4da671b

Please sign in to comment.