From 9b2435557d9469954575bdcbcbd3fed2e1bdcd1b Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Fri, 2 Sep 2022 21:40:14 +0200 Subject: [PATCH] Revert "Fix #1322: improve error location" This reverts commit 6e92c99f31cb97ec715cfb22e38308954f933e48. --- sci | 2 +- src/babashka/main.clj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sci b/sci index a75de7d9..73bd9486 160000 --- a/sci +++ b/sci @@ -1 +1 @@ -Subproject commit a75de7d92fbe590f72f22cfb43cb1a21021eb207 +Subproject commit 73bd948625973ad383d512750280c297436afb2c diff --git a/src/babashka/main.clj b/src/babashka/main.clj index 12298662..4cff399f 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*)]