Skip to content

Commit d161cda

Browse files
committed
Updates ERB to trim newlines with
1 parent fa98bcd commit d161cda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

report/Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ require './reporter'
55
desc "Generate report"
66
task :report do
77
@reporter = Elastic::Reporter.new
8-
template = ERB.new(File.read('./template.erb'), trim_mode = true)
8+
template = ERB.new(File.read('./template.erb'), trim_mode: '-')
99
File.write('../apis_report.md', template.result(binding))
1010
end
1111

0 commit comments

Comments
 (0)