Skip to content

Commit

Permalink
fix(generator): Eliminate erb warning (#17141)
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma authored Jan 22, 2024
1 parent c53367d commit c1b749b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def self.load(template_name)
# Name of the template file
def initialize(template_name)
file = File.join(TEMPLATE_DIR, template_name)
@erb = ERB.new(File.read(file), nil, '-')
@erb = ERB.new(File.read(file), trim_mode: "-")
end

# Render the template
Expand Down

0 comments on commit c1b749b

Please sign in to comment.