Passing form on Windows with question mark breaks evaluation #889

This commit is contained in:
Michiel Borkent 2021-06-16 21:18:31 +02:00 committed by GitHub
parent 7d696f0dc5
commit af036f9d3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -634,7 +634,7 @@ Use bb run --help to show this help output.
(if-not opt opts-map (if-not opt opts-map
;; FILE > TASK > SUBCOMMAND ;; FILE > TASK > SUBCOMMAND
(cond (cond
(fs/regular-file? opt) (.isFile (io/file opt))
(if (str/ends-with? opt ".jar") (if (str/ends-with? opt ".jar")
(assoc opts-map (assoc opts-map
:jar opt :jar opt