Skip to content

Commit

Permalink
test:jvm task - fix default clj version handling (#135)
Browse files Browse the repository at this point in the history
Now properly defaults to Clojure 1.11, was throwing.

Addendum for #117
  • Loading branch information
lread authored May 27, 2023
1 parent d47cb0b commit 0258a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bb.edn
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
:task (let [args *command-line-args*
farg (first *command-line-args*)
;; allow for missing leading colon
farg (if (str/starts-with? farg "clj-")
farg (if (and farg (str/starts-with? farg "clj-"))
(str ":" farg)
farg)
clj-version-aliases (->> "deps.edn"
Expand Down

0 comments on commit 0258a70

Please sign in to comment.