Skip to content

Commit 141c640

Browse files
committed
Fix ERB deprecation warning
1 parent d6c6340 commit 141c640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/ruby/jruby/rack/error_app/show_status.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class ShowStatus
1010

1111
def initialize(app)
1212
require 'rack/request'; require 'rack/utils'
13-
@app = app; @template = ERB.new(TEMPLATE, nil, '-')
13+
@app = app; @template = ERB.new(TEMPLATE, trim_mode: '-')
1414
end
1515

1616
def call(env)

0 commit comments

Comments
 (0)