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
mix credo -v
elixir -v
Run mix credowith the following code:
mix credo
anon_func.(Enum.random(1..10))
Tell me my code is ok because Enum.random(1..10) is used inside the anonymous function call
Error message produced:
There should be no unused return values for Enum functions
The text was updated successfully, but these errors were encountered:
Fix false positive in UnusedFunctionReturnHelper
cf40ca2
Refs #1167
Thanks for reporting this 😀 It is now fixed on master.
master
You can try this by setting the Credo dep to
{:credo, github: "rrrene/credo"}
Please report back if your issue is solved! 👍
Sorry, something went wrong.
No branches or pull requests
Environment
mix credo -v
): 1.7.10-ref.main.35db3d57b+uncommittedchangeselixir -v
):What were you trying to do?
Run
mix credo
with the following code:Expected outcome
Tell me my code is ok because Enum.random(1..10) is used inside the anonymous function call
Actual outcome
Error message produced:
The text was updated successfully, but these errors were encountered: