Skip to content
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 test for Node >= 12.6.0 #348

Merged
merged 1 commit into from
Jul 4, 2019
Merged

Fix test for Node >= 12.6.0 #348

merged 1 commit into from
Jul 4, 2019

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented Jul 4, 2019

One test is failing with 12.6.0 but not <=12.5.0.

The test is running a non-executable binary while passing some stdin. In Node 12.5.0 this emits an EACCESS on childProcess. In Node 12.6.0 this emits an EPIPE on childProcess.stdin. Both are caught by execa but the test needs to be updated.

The only commit was has changed streams in Node 12.6.0 seems to be that one so that's probably the reason.

@sindresorhus sindresorhus merged commit b46cba1 into master Jul 4, 2019
@sindresorhus sindresorhus deleted the test/fix-node-12.6.0 branch July 4, 2019 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants