We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
error.message
We removed it in execa v2 for some reason, but it's very useful.
execa
The lack of it leads to a lot of annoyance and makes it harder for users to see what actually went wrong...
It also makes it harder to do test assertions like this:
test('missing file operands', async t => { await t.throwsAsync(execa('./cli.js'), /`source` and `destination` required/); });
Open questions:
stdout
stderr
The text was updated successfully, but these errors were encountered:
Following from some discussion with @sindresorhus, we thought of the following solution:
Command failed with exit code
error.shortMessage
error.originalMessage
This would be a breaking change.
Sorry, something went wrong.
fix(deps): update dependency execa to v4
4308062
See sindresorhus/execa#395 for more info on the execa v4 changes to error reporting.
Successfully merging a pull request may close this issue.
We removed it in
execa
v2 for some reason, but it's very useful.The lack of it leads to a lot of annoyance and makes it harder for users to see what actually went wrong...
It also makes it harder to do test assertions like this:
Open questions:
stdout
or onlystderr
?The text was updated successfully, but these errors were encountered: