-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix identical operands rule #2549
Fix identical operands rule #2549
Conversation
Generated by 🚫 Danger |
@xavierLowmiller thanks for doing this, but it's not the right fix. Look at the oss-check results. Some of the false positives fixed are valid violations, like |
Ok, I’ll give it another shot 👍 Sent with GitHawk |
Thanks for the PR! Some of the OSSCheck performance numbers look concerning. Could you run |
I agree that the numbers look pretty bad. I could not reproduce them locally, however: Detailed Output
|
Thanks for running that locally @xavierLowmiller! CI runs on VMs and performance numbers can't really be trusted. These used to be more reliable but have gotten flakier over time. I'm planning on evaluating Azure Pipelines to see if that performs any better in the near future. |
Merged to master. Thanks @xavierLowmiller! |
(Fixes #2467)
This PR changes the regex to terminate with a
$
instead of\b
, since\b
does not account for the false positives in #2467.Characters like
<
and.
are valid word boundaries.