lib/rubocop/cop/layout/multiline_block_layout.rb in rubocop-0.86.0 vs lib/rubocop/cop/layout/multiline_block_layout.rb in rubocop-0.87.0
- old
+ new
@@ -103,10 +103,9 @@
end
def add_offense_for_expression(node, expr, msg)
expression = expr.source_range
range = range_between(expression.begin_pos, expression.end_pos)
-
add_offense(node, location: range, message: msg)
end
def autocorrect_arguments(corrector, node)
end_pos = range_with_surrounding_space(