Skip to content

Commit 64137ed

Browse files
committed
Merge pull request lein-junit#13 from revelytix/no-exit
Don't call (exit 0) on successful completion
2 parents bcb1da6 + 3060ddb commit 64137ed

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/lein_junit/core.clj

+3-4
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@
117117
(javac project)
118118
(let [junit-task (apply extract-task project selectors)]
119119
(.execute junit-task)
120-
(if (or (.getProperty lancet/ant-project "lein-junit.errors")
121-
(.getProperty lancet/ant-project "lein-junit.failures"))
122-
(main/abort "JUnit tests failed.")
123-
(main/exit 0))))
120+
(when (or (.getProperty lancet/ant-project "lein-junit.errors")
121+
(.getProperty lancet/ant-project "lein-junit.failures"))
122+
(main/abort "JUnit tests failed."))))

0 commit comments

Comments
 (0)