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
;; FILE > TASK > SUBCOMMAND
(cond
(fs/regular-file? opt)
(.isFile (io/file opt))
(if (str/ends-with? opt ".jar")
(assoc opts-map
:jar opt