Skip to content
New issue

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

False positive on NestedFunctionCalls check #1021

Closed
aptinio opened this issue Dec 22, 2022 · 2 comments
Closed

False positive on NestedFunctionCalls check #1021

aptinio opened this issue Dec 22, 2022 · 2 comments

Comments

@aptinio
Copy link
Contributor

aptinio commented Dec 22, 2022

Environment

  • Credo version (mix credo -v): 1.7.0-dev-ref.master.1c1b99ea
  • Erlang/Elixir version (elixir -v): Elixir 1.14.2 (compiled with Erlang/OTP 25)
  • Operating system: Linux

What were you trying to do?

opts |> Keyword.get(String.to_existing_atom(key), key) |> to_string()

Expected outcome

No issue raised.

Actual outcome

"Use a pipeline when there are nested function calls" suggested.

@rrrene
Copy link
Owner

rrrene commented Jan 29, 2023

Thx for reporting! 👍

@aptinio
Copy link
Contributor Author

aptinio commented Mar 24, 2023

I'm unable to reproduce this on 1.7.0.

@aptinio aptinio closed this as completed Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants