You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The checking of RuboCop's source code currently gives this output:
lib/rubocop/cli.rb:54:44: W: AssignmentInCondition: Assignment in condition - you probably meant to use ==.
return 1 if any_errors? { offences = inspect_file(file) }
The assignment is in a block so I think it should not count.
The text was updated successfully, but these errors were encountered:
lib/rubocop/cli.rb:54:44: W: AssignmentInCondition: Assignment in condition - you probably meant to use ==.
return 1 if any_errors? { offences = inspect_file(file) }
The assignment is in a block so I think it should not count.
—
Reply to this email directly or view it on GitHub.
The checking of RuboCop's source code currently gives this output:
The assignment is in a block so I think it should not count.
The text was updated successfully, but these errors were encountered: