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
using & with empty? cops back and forth #9924
Comments
This bug was fixed in #8654, which was released in RuboCop 0.91.0. |
Ah, I understand. I am stuck with ruby 2.4, as I need qtbindings not available on ruby > 2.4.
Michel Demazure
***@***.***> ***@***.***
De : Jonas Arvidsson ***@***.***>
Envoyé : samedi 10 juillet 2021 23:45
À : rubocop/rubocop ***@***.***>
Cc : Michel Demazure ***@***.***>; Author ***@***.***>
Objet : Re: [rubocop/rubocop] using & with empty? cops back and forth (#9924)
This bug was fixed in #8654 <#8654> and released in RuboCop 0.91.0.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#9924 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAAF42YFLXLZHUI2RBJSJJTTXC5MZANCNFSM5AEKLY6A> .
|
Support for Ruby 2.4 was dropped in RuboCop 1.13.0, so you should still be able to upgrade to a RuboCop version where this bug is fixed. |
OK. Thanks !
Michel Demazure
***@***.***> ***@***.***
De : Jonas Arvidsson ***@***.***>
Envoyé : dimanche 11 juillet 2021 08:31
À : rubocop/rubocop ***@***.***>
Cc : Michel Demazure ***@***.***>; Author ***@***.***>
Objet : Re: [rubocop/rubocop] using & with empty? cops back and forth (#9924)
Support for Ruby 2.4 was dropped in RuboCop 1.13.0, so you should still be able to upgrade to a RuboCop version where this bug is fixed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#9924 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAAF4227ESLGCYD6WPFNTB3TXE3CHANCNFSM5AEKLY6A> .
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rubocop 0.77.0
Using thing && thing.empty? => Cop says : use &.empty?
Using thing&.empty? => Cop says : don't use & with empty?
The text was updated successfully, but these errors were encountered: