lib/rubocop/cop/style/lambda.rb in rubocop-0.52.1 vs lib/rubocop/cop/style/lambda.rb in rubocop-0.53.0
- old
+ new
@@ -171,10 +171,10 @@
arg_node = parent.parent
parent = arg_node.parent
end
return false unless parent && parent.send_type?
- return false if parenthesized_call?(parent)
+ return false if parent.parenthesized_call?
arg_node.sibling_index > 1
end
def remove_unparenthesized_whitespace(corrector, node)