Update spec.cljc

Stray character
This commit is contained in:
Fredrik Vaeng Røtnes 2022-03-18 15:55:20 +00:00 committed by GitHub
parent 7033abc530
commit 43d6f52208
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -122,7 +122,7 @@
(let [spec (wrap spec)
spec-explain (fn [[p d _]]
(when-let [problems (and spec (s/explain-data spec d))]
(->Problem p nil d spec problems))) h
(->Problem p nil d spec problems)))
errors (into [] (keep spec-explain) routes)]
(when (pos? (count errors)) errors)))