[babashka/babashka.nrepl#25] fix binding of *warn-on-reflection* in nREPL

This commit is contained in:
Michiel Borkent 2020-08-14 17:40:57 +02:00
parent e2d801ef57
commit 1761aac14a
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit c07820069a5c70a00876817d9162a8ce4d84b3b2
Subproject commit 3e97bcb289d4ed3072019354b7d3e6c513eed2e8

View file

@ -310,7 +310,8 @@ If neither -e, -f, or --socket-repl are specified, then the first argument that
nrepl-opts (nrepl-server/parse-opt address)
nrepl-opts (assoc nrepl-opts
:debug dev?
:describe {"versions" {"babashka" version}})]
:describe {"versions" {"babashka" version}}
:thread-bind [reflection-var])]
(nrepl-server/start-server! ctx nrepl-opts)
(binding [*out* *err*]
(println "For more info visit https://github.com/borkdude/babashka/blob/master/doc/repl.md#nrepl.")))