diff --git a/index.js b/index.js index 7a8e3b150..3fbb53722 100644 --- a/index.js +++ b/index.js @@ -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; }