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
I am having an issue with inspecting this part of the code:
results['results']&.each do |row| yield row end
An error occurred while Style/ExplicitBlockArgument cop was inspecting
It inspects a code fine if remove & safe navigation from the code.
&
Rubocop 0.89.1 (using Parser 2.7.1.4, rubocop-ast 0.3.0, running on ruby 2.7.1 x86_64-darwin18)
0.89.1 (using Parser 2.7.1.4, rubocop-ast 0.3.0, running on ruby 2.7.1 x86_64-darwin18)
Attaching debug log from rubocop -d run rubocop.out.txt
rubocop -d
The text was updated successfully, but these errors were encountered:
[Fix rubocop#8671] Fix an error for Style/ExplicitBlockArgument
Style/ExplicitBlockArgument
b75882d
Fixes rubocop#8671. This PR fixes an error for `Style/ExplicitBlockArgument` when using safe navigation method call.
@koic , thank you! you are like a rocket
Sorry, something went wrong.
You are welcome!
[Fix #8671] Fix an error for Style/ExplicitBlockArgument
12385fe
Fixes #8671. This PR fixes an error for `Style/ExplicitBlockArgument` when using safe navigation method call.
Successfully merging a pull request may close this issue.
I am having an issue with inspecting this part of the code:
An error occurred while Style/ExplicitBlockArgument cop was inspecting
It inspects a code fine if remove
&
safe navigation from the code.Rubocop
0.89.1 (using Parser 2.7.1.4, rubocop-ast 0.3.0, running on ruby 2.7.1 x86_64-darwin18)
Attaching debug log from
rubocop -d
runrubocop.out.txt
The text was updated successfully, but these errors were encountered: