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

Ensure we return a non-zero error code on bad params #380

Merged
merged 3 commits into from
Jun 24, 2021

Conversation

joshuaostrom-cb
Copy link
Contributor

Thor has an odd behavior of returning a zero status code even when the CLI params are invalid. See rails/thor#244

This PR updates Salus to return a non zero error code when Salus is called with unexpected parameters.

ghbren
ghbren previously approved these changes Jun 12, 2021
@heimdall-asguard heimdall-asguard dismissed ghbren’s stale review June 24, 2021 16:52

Approved review 682338099 from ghbren is now dismissed due to new commit. Re-request for approval.

@ghbren ghbren self-requested a review June 24, 2021 18:24
@joshuaostrom-cb joshuaostrom-cb merged commit 864f21d into master Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants