Skip to content

Commit 6b454d6

Browse files
committed
Fix logging in worker
1 parent ac1095c commit 6b454d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/worker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ function invoke(method, params) {
2222

2323
if (opts.logger === true) {
2424
logger = console;
25-
opts.logger = logger;
2625
}
2726

27+
opts.logger = logger;
2828
core = new Core(params[0], opts);
2929
return;
3030
case "init":

0 commit comments

Comments
 (0)