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

When heroku command fails, it returns exit code 0 #1679

Open
craftdelivery opened this issue Nov 16, 2020 · 0 comments
Open

When heroku command fails, it returns exit code 0 #1679

craftdelivery opened this issue Nov 16, 2020 · 0 comments

Comments

@craftdelivery
Copy link

Do you want to request a feature or report a bug?

Feature. This has been reported as a bug for several heroku commands

What is the current behavior?

exit code 0 is returned regardless if there is an error

What is the expected behavior?

This should be available to all heroku commands and not just heroku run:

-x, --exit-code passthrough the exit code of the remote command

Please add the -x flag to all heroku CLI commands so the response code may be available to scripts that use the CLI

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

No branches or pull requests

1 participant