mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 16:08:34 +02:00
⚡ Change some verify to asserts
This commit is contained in:
parent
ac27d35ff5
commit
0b6c2df5b6
3 changed files with 13 additions and 10 deletions
|
@ -31,7 +31,7 @@
|
|||
;; When verify? false we spec the schema validation. Currently used to make just
|
||||
;; 1 validation even if the changes are applied twice
|
||||
(when verify?
|
||||
(us/verify ::spec/changes items))
|
||||
(us/assert ::spec/changes items))
|
||||
|
||||
(let [pages (into #{} (map :page-id) items)
|
||||
result (->> items
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue