Skip to content

Commit

Permalink
Fix arity of list-node call in clj-kondo hook.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lotbert committed Oct 24, 2024
1 parent ffd2ae5 commit def2230
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@
#(api/list-node (list (api/token-node 'defn)
%
(api/list-node (list (api/vector-node (list (api/token-node '_r)))
(api/list-node (api/token-node 'throw)
(api/list-node (list (api/token-node 'ex-info)
"NOTE: An exception is no return type, so that clj-kondo can't infer that."
{})))))
(api/list-node (list (api/token-node 'throw)
(api/list-node (list (api/token-node 'ex-info)
"NOTE: An exception is no return type, so that clj-kondo can't infer that."
{}))))))
(api/list-node (list (api/vector-node (list (api/token-node 'r) (api/token-node '_v)))
(api/token-node 'r)))))
field-names))]
Expand Down

0 comments on commit def2230

Please sign in to comment.