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

Set proper exit code on failure #166

Merged
merged 1 commit into from
Mar 29, 2023
Merged

Conversation

calmyournerves
Copy link
Contributor

@calmyournerves calmyournerves commented Mar 29, 2023

Currently, when a command fails (e.g. because there is a deploy lock, ERROR (Mrsk::Cli::Base::LockError): Deploy lock found), the exit code of the mrsk command is 0. This PR changes this so the exit code is 1 on failure.

Related: #139

@dhh dhh merged commit 33cc6c8 into basecamp:main Mar 29, 2023
@calmyournerves calmyournerves deleted the exit-code branch March 30, 2023 06:28
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