Skip to content

Re-order return value properties#801

Merged
sindresorhus merged 1 commit intomainfrom
reorder-properties
Feb 8, 2024
Merged

Re-order return value properties#801
sindresorhus merged 1 commit intomainfrom
reorder-properties

Conversation

@ehmicky
Copy link
Copy Markdown
Collaborator

@ehmicky ehmicky commented Feb 7, 2024

This re-orders the properties of the Execa return value (on success or error). When the result is printed, that order is preserved, so this PR makes them follow a logical order.

Also, this adds a test to make sure we are not missing properties, which avoids bugs like #798.

Loading
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