Fix #1322: better error location in tasks

This commit is contained in:
Michiel Borkent 2022-09-02 22:22:27 +02:00
parent 9b2435557d
commit 6cdc002423
2 changed files with 3 additions and 3 deletions

2
sci

@ -1 +1 @@
Subproject commit 73bd948625973ad383d512750280c297436afb2c Subproject commit 7a8536ccc130e60107a96394e8bd2e4526a8d212

View file

@ -944,8 +944,8 @@ Use bb run --help to show this help output.
;; execute code ;; execute code
(sci/binding [sci/file abs-path] (sci/binding [sci/file abs-path]
(try (try
; when evaluating expression(s), add in repl-requires so things like ;; when evaluating expression(s), add in repl-requires so things like
; pprint and dir are available ;; pprint and dir are available
(sci/eval-form sci-ctx `(apply require (quote ~clojure-main/repl-requires))) (sci/eval-form sci-ctx `(apply require (quote ~clojure-main/repl-requires)))
(loop [] (loop []
(let [in (read-next *in*)] (let [in (read-next *in*)]