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 stripFinalNewline not applied on error.stdout|stderr|all #240

Merged
merged 1 commit into from May 13, 2019

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented May 13, 2019

The stripFinalNewline option was applied on the stdout, stderr and all properties of the resolved result (on success) but not of the rejected error (on failure).

This also adds more tests for this option.

@sindresorhus sindresorhus merged commit 943f040 into master May 13, 2019
@sindresorhus sindresorhus deleted the feature/fix-strip-newline branch May 13, 2019 12:48
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.

None yet

2 participants