[ruby/prism] Fix spacing in the generated #each_child_node

https://github.com/ruby/prism/commit/91f60cb736
This commit is contained in:
Benoit Daloze 2025-12-31 18:29:01 +01:00 committed by git
parent 8ce61f90ba
commit 26a5bcd6de

View File

@ -353,7 +353,7 @@ module Prism
<%- when Prism::Template::OptionalNodeField -%>
yield <%= field.name %> if <%= field.name %>
<%- when Prism::Template::NodeListField -%>
<%= field.name %>.each {|node| yield node }
<%= field.name %>.each { |node| yield node }
<%- end -%>
<%- end -%>
end