mirror of
https://github.com/penpot/penpot.git
synced 2025-01-04 13:50:12 -05:00
🐛 Fix exception on clj-kondo extension hook fn
The exception is hidden on normal cli invocatin of clj-kondo and hapens when component with empty params is defined.
This commit is contained in:
parent
7f6bfacff1
commit
eaaff76aad
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@
|
||||||
result (api/list-node
|
result (api/list-node
|
||||||
(into [(api/token-node 'defn)
|
(into [(api/token-node 'defn)
|
||||||
cname
|
cname
|
||||||
(api/vector-node (into [param1] paramN))]
|
(api/vector-node (filter some? (cons param1 paramN)))]
|
||||||
(cons mdata body)))]
|
(cons mdata body)))]
|
||||||
|
|
||||||
;; (prn (api/sexpr result))
|
;; (prn (api/sexpr result))
|
||||||
|
|
Loading…
Reference in a new issue