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
rubocop throws an error on Lint/EmptyConditionalBody
Expected behavior
Rubocop parses the file and does not throw an error
Actual behavior
1 error occurred:
An error occurred while Lint/EmptyConditionalBody cop was inspecting file.rb
Steps to reproduce the problem
Code block throwing the error:
map_row(row).eachdo |attr_key,attr_val|
update=case_log.update(attr_key=>attr_val)unlessupdate# TODO: determine what to doendrescueArgumentError# TODO: determine what we want to doend
RuboCop version
1.27. This was error was not being thrown on 1.25.
rubocop throws an error on
Lint/EmptyConditionalBody
Expected behavior
Rubocop parses the file and does not throw an error
Actual behavior
Steps to reproduce the problem
Code block throwing the error:
RuboCop version
1.27. This was error was not being thrown on 1.25.
The text was updated successfully, but these errors were encountered: