diff options
Diffstat (limited to 'lib/internal/child_process.js')
-rw-r--r-- | lib/internal/child_process.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/child_process.js b/lib/internal/child_process.js index 67687e1a07..22f7da92ce 100644 --- a/lib/internal/child_process.js +++ b/lib/internal/child_process.js @@ -941,7 +941,7 @@ function getValidStdio(stdio, sync) { if (stdio === 'ignore') { acc.push({ type: 'ignore' }); - } else if (stdio === 'pipe' || typeof stdio === 'number' && stdio < 0) { + } else if (stdio === 'pipe' || (typeof stdio === 'number' && stdio < 0)) { var a = { type: 'pipe', readable: i === 0, |