-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Metrics/ClassLength calls class_definition?
on nil
.
#8872
Labels
Comments
class_definition?
on nil
.class_definition?
on nil
.
class_definition?
on nil
.class_definition?
on nil
.
7 tasks
8 tasks
koic
added a commit
to koic/rubocop
that referenced
this issue
Oct 9, 2020
Fixes rubocop#8872. This PR fixes an error for `Metrics/ClassLength` when multiple assignments to constants.
bbatsov
pushed a commit
that referenced
this issue
Oct 9, 2020
Fixes #8872. This PR fixes an error for `Metrics/ClassLength` when multiple assignments to constants.
Is it possible to release as a patch release? It's blocking me on an upgrade to 0.93. |
@jherdman RuboCop 0.93.1 has been released. Thank you. |
Many thanks!
…On Mon, Oct 12, 2020, 03:13 Koichi ITO ***@***.***> wrote:
@jherdman <https://github.com/jherdman> RuboCop 0.93.1 has been released.
Thank you.
https://github.com/rubocop-hq/rubocop/releases/tag/v0.93.1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8872 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAZZCPQ5F3SUHZ75WVWS3SKKT7ZANCNFSM4SJZUT7A>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
Metrics/ClassLength
cop somewhere hits a point where it callsnil.class_definition?
.Expected behavior
No error.
Actual behavior
Error occurs:
Steps to reproduce the problem
test.rb
with these contents:rubocop test.rb --display-cop-names --debug
.RuboCop version
The text was updated successfully, but these errors were encountered: