Skip to content

Commit

Permalink
Merge 7e55c53 into c8a53da
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 20, 2019
2 parents c8a53da + 7e55c53 commit 285718a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ function handleArgs(command, args, options = {}) {
}

function handleInput(spawned, input) {
// Checking for stdin is workaround for https://github.com/nodejs/node/issues/26852 on Node.js 10 and 12
// Checking for stdin is workaround for https://github.com/nodejs/node/issues/26852
// TODO: Remove `|| spawned.stdin === undefined` once we drop support for Node.js <=12.2.0
if (input === undefined || spawned.stdin === undefined) {
return;
}
Expand Down

0 comments on commit 285718a

Please sign in to comment.