diff options
Diffstat (limited to 'lib/internal/main')
-rw-r--r-- | lib/internal/main/worker_thread.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/internal/main/worker_thread.js b/lib/internal/main/worker_thread.js index a06fda7a59..dd6a9426ff 100644 --- a/lib/internal/main/worker_thread.js +++ b/lib/internal/main/worker_thread.js @@ -44,6 +44,7 @@ const { } = require('internal/process/execution'); const publicWorker = require('worker_threads'); +const debug = require('internal/util/debuglog').debuglog('worker'); const assert = require('internal/assert'); @@ -51,8 +52,6 @@ patchProcessObject(); setupInspectorHooks(); setupDebugEnv(); -const debug = require('internal/util/debuglog').debuglog('worker'); - setupWarningHandler(); // Since worker threads cannot switch cwd, we do not need to |