[ruby/yarp] Fix small typo in templating to specify where template comes from

https://github.com/ruby/yarp/commit/96d69ceef6
This commit is contained in:
Jemma Issroff 2023-08-22 10:17:56 -07:00 committed by git
parent 7127f39bac
commit 9b373fb428

View File

@ -270,8 +270,8 @@ def template(name, locals, write_to: nil)
non_ruby_heading = <<~HEADING non_ruby_heading = <<~HEADING
/******************************************************************************/ /******************************************************************************/
/* This file is generated by the bin/template script and should not be */ /* This file is generated by the templates/template.rb script and should not */
/* modified manually. See */ /* be modified manually. See */
/* #{filepath + " " * (74 - filepath.size) } */ /* #{filepath + " " * (74 - filepath.size) } */
/* if you are looking to modify the */ /* if you are looking to modify the */
/* template */ /* template */
@ -281,7 +281,7 @@ def template(name, locals, write_to: nil)
ruby_heading = <<~HEADING ruby_heading = <<~HEADING
# frozen_string_literal: true # frozen_string_literal: true
=begin =begin
This file is generated by the bin/template script and should not be This file is generated by the templates/template.rb script and should not be
modified manually. See #{filepath} modified manually. See #{filepath}
if you are looking to modify the template if you are looking to modify the template
=end =end