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 <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
  • Loading branch information
toshi1127 authored and targos committed Mar 30, 2019
1 parent b24e45a commit 5d9f819
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 5d9f819

Please sign in to comment.