fix printing
This commit is contained in:
parent
64346ac32a
commit
c54de11036
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@
|
||||||
(defn explain-printer
|
(defn explain-printer
|
||||||
"Default printer for explain-data. nil indicates a successful validation."
|
"Default printer for explain-data. nil indicates a successful validation."
|
||||||
[ed]
|
[ed]
|
||||||
(binding [*out* sci/out]
|
(binding [*out* @sci/out]
|
||||||
(if ed
|
(if ed
|
||||||
(let [problems (->> (:clojure.spec.alpha/problems ed)
|
(let [problems (->> (:clojure.spec.alpha/problems ed)
|
||||||
(sort-by #(- (count (:in %))))
|
(sort-by #(- (count (:in %))))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue