Fix errors being thrown when detached: true or cleanup: false is used#360
Merged
sindresorhus merged 5 commits intomasterfrom Aug 14, 2019
Merged
Fix errors being thrown when detached: true or cleanup: false is used#360sindresorhus merged 5 commits intomasterfrom
detached: true or cleanup: false is used#360sindresorhus merged 5 commits intomasterfrom
Conversation
845e75f to
69a8550
Compare
Owner
I don't think we should release the |
Collaborator
Author
|
Would the following be simpler?
|
sindresorhus
pushed a commit
that referenced
this pull request
Aug 15, 2019
…used (#360) # Conflicts: # test/stream.js
Owner
|
I prefer doing it from a branch. That way the main commit history doesn't get the revert noise. Done: https://github.com/sindresorhus/execa/releases/tag/v2.0.4
Scratch the alternative dist-tag part. That was wrong. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Using either the
detached: trueandcleanup: falsealways throws an error:This was introduced by one my PRs here.
This is a quite critical bug, we should release this. However the current code contains breaking changes: users of the
allproperty must now use theall: trueoption. So this would be a major release.Additionally some tests that check
t.throwsAsync()were incorrect but previously successful due to that bug being present (since it madeexecafail but for the wrong reason). I have fixed those tests (mostly Windows issues).