Skip to content

Commit f237f11

Browse files
committedMar 16, 2019
process/worker: allow eval and execArgv.
- see nodejs/node#26533
1 parent 86b5b7e commit f237f11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/process/worker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class Worker extends EventEmitter {
129129

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

135135
// Parse execArgv and look for any irregularities.

0 commit comments

Comments
 (0)
Please sign in to comment.