Skip to content

Don't crash if spawnSync result's stderr is null #27616

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

Merged
1 commit merged into from
Oct 9, 2018
Merged

Don't crash if spawnSync result's stderr is null #27616

1 commit merged into from
Oct 9, 2018

Conversation

ghost
Copy link

@ghost ghost commented Oct 8, 2018

Fixes a bug where we didn't succeed in printing an error message because stderr was undefined and so toString() didn't work.
(Note: perhaps this is a bug in @types/node and it should have warned us?)

@ghost ghost requested a review from sandersn October 9, 2018 16:38
@ghost ghost merged commit 1a5e669 into master Oct 9, 2018
@ghost ghost deleted the exec branch October 9, 2018 16:42
This pull request was closed.
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.

1 participant