fix printing

This commit is contained in:
Michiel Borkent 2022-09-30 20:56:59 +02:00
parent 64346ac32a
commit c54de11036

View file

@ -237,7 +237,7 @@
(defn explain-printer
"Default printer for explain-data. nil indicates a successful validation."
[ed]
(binding [*out* sci/out]
(binding [*out* @sci/out]
(if ed
(let [problems (->> (:clojure.spec.alpha/problems ed)
(sort-by #(- (count (:in %))))