-
-
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
Unexpected change to Style/Copyright from #12804 #12889
Comments
I tried to remove all the extension and I still get the warning
|
Does the issue still reproduce with the latest RuboCop 1.63.4? If so, can you share a reproducible .rubocop.yml. |
I wanted to create a minimal reproduction example and found out that we have this code
So the seam that it was a user error after all. Sorry. |
The warning message in the title appears when |
Hi, I upgraded rubopcop and started to receive a warning which I didn't expect.
This comes from Style/Copyright. In #12804 there is a change from calling
verify_autocorrect_notice!
in add_offense block to to inside on_new_investigation. I don't think Style/Copyright is enabled in our application, by default it is disabled. Maybe on_new_investigation shouldn't be called when the cop isn't enabled.Havn't tested if its this pull request but I am quite confident. I don't get the warning in version rubocop version 1.62.1, but I do for 1.63.0.
The text was updated successfully, but these errors were encountered: