lib/rubocop/cop/style/negated_if.rb in rubocop-0.52.0 vs lib/rubocop/cop/style/negated_if.rb in rubocop-0.52.1
- old
+ new
@@ -78,10 +78,10 @@
check_negative_conditional(node)
end
def autocorrect(node)
- negative_conditional_corrector(node)
+ ConditionCorrector.correct_negative_condition(node)
end
private
def message(node)