mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 19:06:21 +00:00
Split out command and category descs
Move them to a more appropriate ns that is just dictionary focused. This _majorly_ slims down dependencies for the main translation ns Also: - add tests - make medley requires consistent - alter spec to reflect how command data is actually being used in command palette component - add basic translation tests
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
(when config/dev?
|
||||
(if (s/explain-data spec value)
|
||||
(let [error-message (expound/expound-str spec value)
|
||||
ex (ex-info "Error in validate" {})]
|
||||
ex (ex-info "Error in validate" {:value value})]
|
||||
(log/error :exception ex :spec/validate-failed error-message)
|
||||
false)
|
||||
true)))
|
||||
|
||||
Reference in New Issue
Block a user