Closed davidbalbert closed 10 years ago
My understanding was that calling exit every time would break chained rake tasks, so it looks like the fix we had here was to call break instead every time.
I think the right fix is to only call exit if we fail. Happy to take a pull request fixing this.
Any chance of a new gem version so we can get this fix?
If you have a failing test and you run
rake jasmine:ci
, you get the following output:This is because the
jasmine:ci
task has abreak
in it's body, which isn't allowed if the block gets called outside of thetask
method, which it does.Someone made a comment on the commit, but it was unanswered: https://github.com/pivotal/jasmine-gem/commit/2106d95fd622f19120f4116efe38c91706c3d20e#commitcomment-6118710.
Would it be possible to quietly exit with status 1 instead of printing this unrelated error?