From 58e234b02604ec7c3fa2622cfa002bb119eaeecf Mon Sep 17 00:00:00 2001 From: Chenyu Yang Date: Wed, 8 May 2024 15:33:02 +0800 Subject: [PATCH] Update worker.js --- lib/internal/worker.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/internal/worker.js b/lib/internal/worker.js index deec979b28aafc..766659d4464379 100644 --- a/lib/internal/worker.js +++ b/lib/internal/worker.js @@ -281,6 +281,7 @@ class Worker extends EventEmitter { workerData: options.workerData, environmentData, publicPort: port2, + hooksPort: !isInternal ? toHooksThread : undefined, hasStdin: !!options.stdin, }, transferList);