Skip to content

Commit

Permalink
worker: remove usage of require('util') in worker_thread.js
Browse files Browse the repository at this point in the history
PR-URL: #26814
Refs: #26546
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Masashi Hirano <[email protected]>
Reviewed-By: Yongsheng Zhang <[email protected]>
  • Loading branch information
toshi1127 authored and targos committed Mar 28, 2019
1 parent fb83505 commit 652e5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/main/worker_thread.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const publicWorker = require('worker_threads');
patchProcessObject();
setupDebugEnv();

const debug = require('util').debuglog('worker');
const debug = require('internal/util/debuglog').debuglog('worker');

setupWarningHandler();

Expand Down

0 comments on commit 652e5f8

Please sign in to comment.