From f8c6945278559aebed6a83f7a5d87962d96a5110 Mon Sep 17 00:00:00 2001 From: toshi1127 <toshi.matsumoto.2n@stu.hosei.ac.jp> Date: Wed, 20 Mar 2019 22:04:00 +0900 Subject: [PATCH] worker: remove usage of require('util') in worker_thread.js --- 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();