lib/rubocop/cop/lint/multiple_compare.rb in rubocop-0.49.1 vs lib/rubocop/cop/lint/multiple_compare.rb in rubocop-0.50.0

- old
+ new

@@ -29,10 +29,10 @@ PATTERN def on_send(node) return unless multiple_compare?(node) - add_offense(node, :expression) + add_offense(node) end def autocorrect(node) center = multiple_compare?(node) new_center = "#{center.source} && #{center.source}"