From 740e7e8a9d6ef5069cc3d6bd88e2527f9df051ab Mon Sep 17 00:00:00 2001 From: toshi1127 Date: Wed, 20 Mar 2019 22:04:00 +0900 Subject: [PATCH] worker: remove usage of require('util') in worker_thread.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/26814 Refs: https://github.com/nodejs/node/issues/26546 Reviewed-By: Michaƫl Zasso Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater Reviewed-By: Masashi Hirano Reviewed-By: Yongsheng Zhang --- lib/internal/main/worker_thread.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/main/worker_thread.js b/lib/internal/main/worker_thread.js index c5a729b5721f94..fd3502e0784a1a 100644 --- a/lib/internal/main/worker_thread.js +++ b/lib/internal/main/worker_thread.js @@ -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();