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
Cop Style/RedundantCondition inspects without breaking.
Actual behavior
Cop Style/RedundantCondition breaks during inspection with the following error:
Scanning condition.rb
An error occurred while Style/RedundantCondition cop was inspecting condition.rb:5:6.
undefined method `kwsplat_type?' for nil:NilClass.rvm/gems/ruby-2.7.2/gems/rubocop-1.45.0/lib/rubocop/cop/style/redundant_condition.rb:172:in `argument_with_operator?'...
Expected behavior
Cop
Style/RedundantCondition
inspects without breaking.Actual behavior
Cop
Style/RedundantCondition
breaks during inspection with the following error:Steps to reproduce the problem
Style/RedundantCondition
cop enabled:Output:
RuboCop version
The text was updated successfully, but these errors were encountered: