Skip to content

Commit

Permalink
Prevent AOT from interfering with reflection in check task.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Apr 5, 2022
1 parent 0b37859 commit add1a11
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/leiningen/check.clj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
(swap! failures# inc)
(.printStackTrace e#)))))
(if-not (zero? @failures#)
(System/exit @failures#)))]
(System/exit @failures#)))
project (assoc project
:aot nil
:target-path (str (:target-path project) "/check"))]
(try
(binding [eval/*pump-in* false]
(eval/eval-in-project project action))
Expand Down

0 comments on commit add1a11

Please sign in to comment.