Skip to content

Commit

Permalink
Merge pull request #49547 from amatsuda/prism_render_parser_symbol_pl…
Browse files Browse the repository at this point in the history
…uralize_error

"NoMethodError: undefined method `pluralize' for an instance of Symbol" in PrismRenderParser

fixes #49464
  • Loading branch information
amatsuda committed Oct 9, 2023
2 parents 254b655 + 8104683 commit 358d3d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def render_call_template(node)
when :local_variable_read_node
node.slice
when :call_node
node.name
node.name.to_s
else
return
end
Expand Down

0 comments on commit 358d3d3

Please sign in to comment.