-
-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix non-executable execution with input
option
#212
Fix non-executable execution with input
option
#212
Conversation
8899af1
to
b53e9d9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good except for comment about styling consistency with other tests.
Thanks for this PR @stroncium! This issue was reported with #166. There is an ongoing fix within Node.js here: nodejs/node#26852 However for current and older Node.js versions, we should definitely use that check, i.e. looks good to me. Just need @sindresorhus review as well before merging. |
input
option
execa
throws internal error instead of rejecting with proper error when running non-executable with input.fixes #166
Failing test: https://travis-ci.org/sindresorhus/execa/builds/528756511?utm_source=github_status&utm_medium=notification
Added test, fixed the problem.