mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
📎 Minor cosmetic fixes
This commit is contained in:
parent
903a9356a9
commit
d4c1e2fc36
@ -167,5 +167,4 @@
|
||||
(-> (p/do! (.acquire ^js pool))
|
||||
(p/then (partial on-acquire pool))
|
||||
(p/catch (fn [cause]
|
||||
(js/console.log "KKK" cause)
|
||||
(p/rejected cause)))))))
|
||||
|
||||
@ -56,9 +56,10 @@
|
||||
(.on zip "entry" (fn [data]
|
||||
(let [name (unchecked-get data "name")
|
||||
num (swap! progress inc)]
|
||||
;; Sample code used for testing failing exports
|
||||
#_(when (= 2 num)
|
||||
(.abort ^js zip)
|
||||
(reject (js/Error. "unable to create zip file")))
|
||||
(.abort ^js zip)
|
||||
(reject (js/Error. "unable to create zip file")))
|
||||
(on-progress
|
||||
{:total (count items)
|
||||
:done num}))))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user