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
[Fix #4179] Prevent Rails/Blank cop from breaking when LHS of is a naked falsiness check #4190
Conversation
…is a naked falsiness check
Kind of an awkward miss by me. I assumed too hastily that the problem was the "not-not" check of the RHS. 😅 |
Kind of awkward miss by me as well. I feel like it is such a simple example. I feel like I have been testing less edge cases since I started using |
Same. I think Another thing I like about RuboCop is the testing strategy. "This literal code should (or should not) generate an offense" is super easy to understand and, I must admit, RuboCop is the only project for which I always write the tests first. 😶 |
👍 |
Would be nice to release a new rubocop version with this, as 0.48.0 is broken because of this |
bump on new rubocop version :) |
Likely on Monday. The weekend is a good opportunity to fix more bugs. :-)
On Fri, Mar 31, 2017 at 21:56 Joe Van Dyk ***@***.***> wrote:
bump on new rubocop version :)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#4190 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAGVyoOle7U--gviGUZo5j83__80o7Aeks5rrUxLgaJpZM4Mq2TG>
.
--
Best Regards,
Bozhidar Batsov
http://www.batsov.com
|
This fixes #4179. This is a similar fix to what was done to fix #4171. This issue does not seem to impact
Rails/Present
.