lein-midje icon indicating copy to clipboard operation
lein-midje copied to clipboard

lein midje exits with status 0 on FAILURE

Open ccfontes opened this issue 11 years ago • 2 comments

I call lein midje from a pre-commit hook, and rely on the command exit status to proceed or abandon commit. Yet, when all tests succeed but there is some kind of unrelated failure like this one: FAILURE: These files have broken namespaces and will not be loaded., lein midje will exit with 0 status. I think this is undesirable. screen shot 2014-03-01 at 22 59 22

ccfontes avatar Mar 01 '14 23:03 ccfontes

I agree. As far as I can tell from the code, it should be returning a non-zero exit status. Therefore, I can't promise a quick fix.

marick avatar Mar 09 '14 22:03 marick

Added to trello board https://trello.com/c/JlAm0e0U/16-lein-midje-exits-with-status-0-on-failure-51

marick avatar Nov 29 '14 20:11 marick