0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-02 04:40:09 -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:
Andrey Antukh 2024-07-10 13:27:12 +02:00
parent 7f6bfacff1
commit eaaff76aad

View file

@ -141,7 +141,7 @@
result (api/list-node
(into [(api/token-node 'defn)
cname
(api/vector-node (into [param1] paramN))]
(api/vector-node (filter some? (cons param1 paramN)))]
(cons mdata body)))]
;; (prn (api/sexpr result))