We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e369572 commit 05cb903Copy full SHA for 05cb903
lib/internal/worker.js
@@ -190,7 +190,7 @@ class Worker extends EventEmitter {
190
// Set up the C++ handle for the worker, as well as some internal wiring.
191
this[kHandle] = new WorkerImpl(url,
192
env,
193
- options.execArgv,
+ options.execArgv ?? process.execArgv,
194
parseResourceLimits(options.resourceLimits),
195
!!(options.trackUnmanagedFds ?? true));
196
if (this[kHandle].invalidExecArgv) {
0 commit comments