lib/rubocop/cop/style/negated_if.rb in rubocop-0.68.1 vs lib/rubocop/cop/style/negated_if.rb in rubocop-0.69.0

- old
+ new

@@ -71,10 +71,10 @@ class NegatedIf < Cop include ConfigurableEnforcedStyle include NegativeConditional def on_if(node) - return if node.elsif? || node.ternary? + return if node.unless? || node.elsif? || node.ternary? return if correct_style?(node) check_negative_conditional(node) end