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

CLI raising should impact exit code #57

Open
christhekeele opened this issue Nov 30, 2022 · 0 comments
Open

CLI raising should impact exit code #57

christhekeele opened this issue Nov 30, 2022 · 0 comments

Comments

@christhekeele
Copy link

Expectation:

With the raise: true config set, when running mix doctor, when my Doctor validation fails, I'd expect the task to return a non-zero status code.

Observed:

Failing and non-failing runs always return a 0 exit code.

Implementation:

One neat thing I've seen such tools do is encode the number of failures in the returned status code, so bash CI scripts can externally permit/enforce a certain number of failures.

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