Skip to content

Commit

Permalink
process/worker: allow eval and execArgv.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Mar 16, 2019
1 parent 86b5b7e commit f237f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/process/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class Worker extends EventEmitter {

// Setup argument vector.
// https://github.com/nodejs/node/pull/25467
if (!options.eval && options.execArgv) {
if (options.execArgv) {
const invalid = [];

// Parse execArgv and look for any irregularities.
Expand Down

0 comments on commit f237f11

Please sign in to comment.