-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Style/CollectionMethods does not detect inject
-> reduce
in certain cases
#9262
Labels
Comments
dgollahon
added a commit
to mbj/mutant
that referenced
this issue
Dec 20, 2020
dgollahon
added a commit
to mbj/mutant
that referenced
this issue
Dec 20, 2020
dgollahon
added a commit
to mbj/mutant
that referenced
this issue
Dec 21, 2020
dvandersluis
added a commit
to dvandersluis/rubocop
that referenced
this issue
Dec 21, 2020
…tional arguments and methods that accept a symbol instead of a block.
bbatsov
pushed a commit
that referenced
this issue
Dec 22, 2020
…arguments and methods that accept a symbol instead of a block.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
Actual behavior
Note that the following works correctly:
Steps to reproduce the problem
Add an
.inject
to some code and runrubocop
.RuboCop version
rubocop -V
The text was updated successfully, but these errors were encountered: