From fbd9d336d1b0039e5ef1c696dd6937c1e4c3d77d Mon Sep 17 00:00:00 2001 From: Mark Wubben Date: Tue, 20 Aug 2024 15:44:28 +0200 Subject: [PATCH] Restore default assignment --- lib/fork.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fork.js b/lib/fork.js index b2b2405e6..8317774ff 100644 --- a/lib/fork.js +++ b/lib/fork.js @@ -60,7 +60,7 @@ const createWorker = (options, execArgv) => { }; }; -export default function loadFork(file, options, execArgv) { +export default function loadFork(file, options, execArgv = process.execArgv) { let finished = false; const emitter = new Emittery();