mirror of
https://github.com/penpot/penpot.git
synced 2026-09-10 14:09:17 +00:00
🐛 Decouple file validation from file schema validation
This commit is contained in:
parent
d5e3cba92c
commit
936fb2b6f1
@ -486,6 +486,5 @@
|
|||||||
all contents of a file. Returns a list of errors."
|
all contents of a file. Returns a list of errors."
|
||||||
[file libraries]
|
[file libraries]
|
||||||
(binding [*errors* (volatile! [])]
|
(binding [*errors* (volatile! [])]
|
||||||
(validate-file-schema! file)
|
|
||||||
(validate-file! file libraries)
|
(validate-file! file libraries)
|
||||||
(deref *errors*)))
|
(deref *errors*)))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user