From af036f9d3aa754049726561d5a25b36b5bc3b3cc Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Wed, 16 Jun 2021 21:18:31 +0200 Subject: [PATCH] Passing form on Windows with question mark breaks evaluation #889 --- src/babashka/main.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/babashka/main.clj b/src/babashka/main.clj index 1c25c94f..7a8c1725 100644 --- a/src/babashka/main.clj +++ b/src/babashka/main.clj @@ -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