Merge pull request #49416 from Shopify/fix-render-call-extractor-on-ruby-3.3
Fix RenderCallExtractor to be compatible with Ruby 3.3
This commit is contained in:
commit
af95a7d89f
@ -179,7 +179,7 @@ def on_arg_paren(content)
|
||||
end
|
||||
|
||||
def on_paren(content)
|
||||
content
|
||||
content.size == 1 ? content.first : content
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user