mirror of
https://github.com/logseq/logseq.git
synced 2026-04-30 17:06:23 +00:00
chore: remove unused errors-by-type
This commit is contained in:
9
deps/db/script/validate_db.cljs
vendored
9
deps/db/script/validate_db.cljs
vendored
@@ -26,11 +26,10 @@
|
||||
verbose
|
||||
(pprint/pprint ent-errors)
|
||||
humanize
|
||||
(pprint/pprint (map #(-> (dissoc % :errors-by-type)
|
||||
(update :errors (fn [errs]
|
||||
(->> (me/humanize {:errors errs})
|
||||
vals
|
||||
(apply merge-with into)))))
|
||||
(pprint/pprint (map #(update % :errors (fn [errs]
|
||||
(->> (me/humanize {:errors errs})
|
||||
vals
|
||||
(apply merge-with into))))
|
||||
ent-errors))
|
||||
:else
|
||||
(pprint/pprint (map :entity ent-errors))))
|
||||
|
||||
Reference in New Issue
Block a user