Skip to content

Commit

Permalink
Merge pull request #49416 from Shopify/fix-render-call-extractor-on-r…
Browse files Browse the repository at this point in the history
…uby-3.3

Fix RenderCallExtractor to be compatible with Ruby 3.3
  • Loading branch information
rafaelfranca committed Sep 28, 2023
1 parent 7069278 commit 877e7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionview/lib/action_view/ripper_ast_parser.rb
Expand Up @@ -179,7 +179,7 @@ def on_arg_paren(content)
end

def on_paren(content)
content
content.size == 1 ? content.first : content
end
end

Expand Down

0 comments on commit 877e7d8

Please sign in to comment.