Skip to content

Commit 431fdbd

Browse files
committed
Embeded ruby uses non-deprecated ERB invocation
1 parent 60d729f commit 431fdbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templatescompiler/erbrenderer/template_evaluation_context.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def initialize(json_context_path)
171171
end
172172

173173
def render(src_path, dst_path)
174-
erb = ERB.new(File.read(src_path), safe_level = nil, trim_mode = "-")
174+
erb = ERB.new(File.read(src_path), trim_mode: "-")
175175
erb.filename = src_path
176176

177177
context_hash = JSON.load(File.read(@json_context_path))

0 commit comments

Comments
 (0)