Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix error.timedOut not working with execa.sync() #249

Merged
merged 2 commits into from
May 14, 2019

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented May 14, 2019

When execa.sync() times out because of the timeout option, error.timedOut is still false.

This PR fixes this.

@ehmicky ehmicky force-pushed the feature/fix-timedout-sync branch from 8ed364d to c3857e9 Compare May 14, 2019 17:27
@ehmicky
Copy link
Collaborator Author

ehmicky commented May 14, 2019

Fixed.

@sindresorhus sindresorhus merged commit 21c706a into master May 14, 2019
@sindresorhus sindresorhus deleted the feature/fix-timedout-sync branch May 14, 2019 18:47
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants