mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00: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
@ -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…
x
Reference in New Issue
Block a user