0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-01 20:09:04 -05:00

🐛 Decouple file validation from file schema validation

This commit is contained in:
Andrey Antukh 2023-12-13 14:07:27 +01:00 committed by Andrés Moya
parent d5e3cba92c
commit 936fb2b6f1

View file

@ -486,6 +486,5 @@
all contents of a file. Returns a list of errors."
[file libraries]
(binding [*errors* (volatile! [])]
(validate-file-schema! file)
(validate-file! file libraries)
(deref *errors*)))