Skip to content

Commit

Permalink
Fix examples for streams
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 17, 2019
1 parent fdb38bc commit cd2dcc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/options/upstream.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const EXECA_OPTS = {
maxBuffer: 1e7,
// eslint-disable-next-line no-magic-numbers
killSignal: multipleValidOptions('SIGTERM', 9),
stdin: multipleValidOptions('stdin', 0, new Stream()),
stdout: multipleValidOptions('stdout', 1, new Stream()),
stderr: multipleValidOptions('stderr', 2, new Stream()),
stdin: multipleValidOptions('pipe', 0, new Stream()),
stdout: multipleValidOptions('pipe', 1, new Stream()),
stderr: multipleValidOptions('pipe', 2, new Stream()),
}

0 comments on commit cd2dcc7

Please sign in to comment.