We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Erlang/OTP 26 [erts-14.1.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit] Elixir 1.15.7 (compiled with Erlang/OTP 26)
macOS Sonoma 14.1
Running mix credo fails throwing errors.
mix credo
git clone https://github.com/anfly0/exBankID.git cd exBankID mix deps.get mix compile mix credo
[intentionally omitted] 07:59:09.041 [error] Task #PID<0.4062.0> started from #PID<0.4030.0> terminating ** (CaseClauseError) no case clause matching: {:ok, 4, 1, [], [{:alias, {1, 1, ~c"ExUnit"}, :ExUnit}, {:., {1, 7, nil}}, {:paren_identifier, {1, 8, ~c"start"}, :start}, {:"(", {1, 13, nil}}, {:")", {1, 14, nil}}, {:eol, {1, 15, 2}}, {:alias, {3, 1, ~c"Code"}, :Code}, {:., {3, 5, nil}}, {:paren_identifier, {3, 6, ~c"require_file"}, :require_file}, {:"(", {3, 18, nil}}, {:bin_string, {3, 19, nil}, ["./test/helpers/helpers_test.exs"]}, {:")", {3, 52, nil}}, {:eol, {3, 53, 1}}]} (credo 1.5.3) lib/credo/code.ex:136: Credo.Code.to_tokens/2 (credo 1.5.3) lib/credo/check/readability/parentheses_in_condition.ex:35: Credo.Check.Readability.ParenthesesInCondition.run/2 (credo 1.5.3) lib/credo/check/readability/parentheses_in_condition.ex:2: Credo.Check.Readability.ParenthesesInCondition.do_run_on_source_file/3 (elixir 1.15.7) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2 (elixir 1.15.7) lib/task/supervised.ex:36: Task.Supervised.reply/4 Function: #Function<5.56087938/0 in Credo.Check.Readability.ParenthesesInCondition.do_run_on_all_source_files/3> Args: []
Successful execution of mix credo with resulting static analysis.
I haven't dug deep into this but experienced the same issue on Elixir 1.14 and 1.13.
Upgrading credo to at least 1.6.0 resolves the issue.
credo
1.6.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Erlang, Elixir and OTP versions
Operating system
macOS Sonoma 14.1
Current behaviour
Running
mix credo
fails throwing errors.To reproduce
Output
Expected behaviour
Successful execution of
mix credo
with resulting static analysis.Troubleshooting
I haven't dug deep into this but experienced the same issue on Elixir 1.14 and 1.13.
Upgrading
credo
to at least1.6.0
resolves the issue.The text was updated successfully, but these errors were encountered: