From 6cdc002423cd243b5d0bed4e078f8db164278087 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Fri, 2 Sep 2022 22:22:27 +0200 Subject: [PATCH] Fix #1322: better error location in tasks --- sci | 2 +- src/babashka/main.clj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sci b/sci index 73bd9486..7a8536cc 160000 --- a/sci +++ b/sci @@ -1 +1 @@ -Subproject commit 73bd948625973ad383d512750280c297436afb2c +Subproject commit 7a8536ccc130e60107a96394e8bd2e4526a8d212 diff --git a/src/babashka/main.clj b/src/babashka/main.clj index 4cff399f..12298662 100644 --- a/src/babashka/main.clj +++ b/src/babashka/main.clj @@ -944,8 +944,8 @@ Use bb run --help to show this help output. ;; execute code (sci/binding [sci/file abs-path] (try - ; when evaluating expression(s), add in repl-requires so things like - ; pprint and dir are available + ;; when evaluating expression(s), add in repl-requires so things like + ;; pprint and dir are available (sci/eval-form sci-ctx `(apply require (quote ~clojure-main/repl-requires))) (loop [] (let [in (read-next *in*)]