0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-21 14:26:27 -05:00

🐛 Remove plugin data from binfile v3 export

This commit is contained in:
Andrey Antukh 2024-10-18 18:13:00 +02:00 committed by Alonso Torres
parent b800fcafb4
commit ac33df2054

View file

@ -248,7 +248,6 @@
data (:data file)
typographies (:typographies data)
plugins-data (:plugin-data data)
components (:components data)
colors (:colors data)
@ -322,11 +321,7 @@
(doseq [[id object] typographies]
(let [path (str "files/" file-id "/typographies/" id ".json")
color (encode-typography object)]
(write-entry! output path color)))
(when-let [data (not-empty plugins-data)]
(let [path (str "files/" file-id "/plugin-data.json")]
(write-entry! output path data)))))
(write-entry! output path color)))))
(defn- export-files
[{:keys [::ids ::include-libraries ::output] :as cfg}]