Closed antedeguemon closed 10 months ago
Hi! 🖖
There is a warning getting logged when compiling Credo.Check.Warning.MixEnv:
Credo.Check.Warning.MixEnv
❯ mix compile lib/credo/check/warning/mix_env.ex Compiling 1 file (.ex) warning: function traverse/4 is unused │ 56 │ defp traverse({unquote(op), _, nil} = ast, issues, _issue_meta, _parens?) do │ ~ │ └─ lib/credo/check/warning/mix_env.ex:56:10: Credo.Check.Warning.MixEnv (module)
This pull request fixes it by removing the extra parens? argument from the traverse function and adds a little test to ensure nothing is broken.
parens?
traverse
Hi! 🖖
There is a warning getting logged when compiling
Credo.Check.Warning.MixEnv
:This pull request fixes it by removing the extra
parens?
argument from thetraverse
function and adds a little test to ensure nothing is broken.