mirror of
https://github.com/penpot/penpot.git
synced 2025-02-12 18:18:24 -05:00
📎 Minor cosmetic fixes
This commit is contained in:
parent
903a9356a9
commit
d4c1e2fc36
2 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue