Skip to content

Commit

Permalink
🐛 Remove plugin data from binfile v3 export
Browse files Browse the repository at this point in the history
  • Loading branch information
niwinz authored and Alotor committed Oct 21, 2024
1 parent b800fca commit ac33df2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions backend/src/app/binfile/v3.clj
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@

data (:data file)
typographies (:typographies data)
plugins-data (:plugin-data data)
components (:components data)
colors (:colors data)

Expand Down Expand Up @@ -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}]
Expand Down

0 comments on commit ac33df2

Please sign in to comment.