diff options
author | Balearica <admin@scribeocr.com> | 2022-08-09 08:31:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-09 08:31:46 +0300 |
commit | a8287a99aaef33485e6e755b1b6f578eaabc5e1c (patch) | |
tree | a507195dce85649ec03fdde5ce3a860e6679c9d0 | |
parent | 66085a7d70af2ac47dac67ac0b1305573ffea318 (diff) | |
parent | 50a53f51d9f822a884096cc915e9a09cb611618e (diff) |
Merge pull request #621 from SusanDoggie/patch-1
Fix for passing wrong arguments while calling fork function
-rw-r--r-- | src/worker/node/spawnWorker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker/node/spawnWorker.js b/src/worker/node/spawnWorker.js index 2901948..c538244 100644 --- a/src/worker/node/spawnWorker.js +++ b/src/worker/node/spawnWorker.js @@ -11,5 +11,5 @@ let debugPort = 9229; */ module.exports = ({ workerPath }) => { debugPort += 1; - return fork(workerPath, { execArgv: [`--debug-port=${debugPort}`] }); + return fork(workerPath, [], { execArgv: [`--debug-port=${debugPort}`] }); }; |