Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

exit code not set for upgrade failure #110

Open
gfredericks opened this issue Mar 27, 2019 · 0 comments
Open

exit code not set for upgrade failure #110

gfredericks opened this issue Mar 27, 2019 · 0 comments

Comments

@gfredericks
Copy link

I think lein ancient upgrade should have non-zero exit code when the tests fail.

Currently what happens is that the test-failing code goes through leiningen.core.main/exit with the flag set causing that method to throw an exception rather than exit, and the exception gets printed somehow, and the process exits with exit code 0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant