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

Return exit status 1 on failure #28

Merged
merged 1 commit into from
Jun 23, 2017
Merged

Return exit status 1 on failure #28

merged 1 commit into from
Jun 23, 2017

Conversation

etiennebarrie
Copy link
Member

When we removed record-store validate_all_present, our CI continued to have this as a step and it didn't cause failures.
This made me realize Thor doesn't return a non-zero exit status when the command is unknown.
rails/thor#244 (comment)

This probably breaks compatibility in a way, but I think it's fine. Should I ship a 4.1.0 with that?

@es @dwradcliffe

@etiennebarrie etiennebarrie requested a review from es May 15, 2017 19:51
Copy link
Contributor

@es es left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch 👍

I don't have a preference over 4.1.0 or 4.0.1. Depends on if you view the original exit status as a bug or feature 🤷‍♂️

@etiennebarrie etiennebarrie merged commit 405cada into master Jun 23, 2017
@etiennebarrie etiennebarrie deleted the exit-status branch June 23, 2017 14:38
@etiennebarrie
Copy link
Member Author

Shipit's not setup, I can't ship a new version. With #29 in, I guess it should be a v4.1.0.

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