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

🐛 Fix default features for files exported with penpot lib

Avoid having false as features, since it should be an array.
This commit is contained in:
Jordi Sala Morales 2024-04-23 07:40:16 +00:00
parent d907812513
commit 0cb2e6d07d
No known key found for this signature in database
GPG key ID: C5127140107F55FD

View file

@ -7,6 +7,7 @@
(ns app.libs.file-builder
(:require
[app.common.data :as d]
[app.common.features :as cfeat]
[app.common.files.builder :as fb]
[app.common.media :as cm]
[app.common.types.components-list :as ctkl]
@ -73,7 +74,7 @@
manifest-stream
(->> files-stream
(rx/map #(e/create-manifest (uuid/next) (:id file) :all % false))
(rx/map #(e/create-manifest (uuid/next) (:id file) :all % cfeat/default-features))
(rx/map (fn [a]
(vector "manifest.json" a))))