Skip to content

Commit

Permalink
Fix logging in worker
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Feb 2, 2025
1 parent ac1095c commit 6b454d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ function invoke(method, params) {

if (opts.logger === true) {
logger = console;
opts.logger = logger;
}

opts.logger = logger;
core = new Core(params[0], opts);
return;
case "init":
Expand Down

0 comments on commit 6b454d6

Please sign in to comment.