rrrene / credo

A static code analysis tool for the Elixir language with a focus on code consistency and teaching.
http://credo-ci.org/
MIT License
4.94k stars 419 forks source link

Fixes counting params when a function has a guard #1156

Closed paulanthonywilson closed 1 month ago

paulanthonywilson commented 1 month ago

Hi René,

Counting parameters wasn't working quite right when a function hard a guard clause. I believe this fixes it.

Let me know if you want me to tweak anything or raise an associated issue.

💚

rrrene commented 1 month ago

@paulanthonywilson Thx for this! 👍

rrrene commented 2 weeks ago

@paulanthonywilson Thx! This is part of Credo 1.7.9 :tada: