Skip to content

Commit

Permalink
Correct way of checking for prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
eval committed Feb 29, 2024
1 parent bc70197 commit f41a074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eval/deps_try/try.clj
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@

(defn -main [& args]
;; via --debug flag?
(let [prepare? (filter #{"-P"} args)]
(let [prepare? (first (filter #{"-P"} args))]
(if prepare?
(System/exit 0)
(binding [*debug-log* false]
Expand Down

0 comments on commit f41a074

Please sign in to comment.