Skip to content

Commit

Permalink
Update worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Ch3nYuY committed May 8, 2024
1 parent 36e5c3d commit 58e234b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/internal/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ class Worker extends EventEmitter {
workerData: options.workerData,
environmentData,
publicPort: port2,
hooksPort: !isInternal ? toHooksThread : undefined,
hasStdin: !!options.stdin,
}, transferList);

Expand Down

0 comments on commit 58e234b

Please sign in to comment.