summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-02-09 23:27:26 +1300
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-02-09 23:27:26 +1300
commita7c0ed047c0e49cfa4d47eb892595f04de1c5375 (patch)
tree8d0cd59f495bd1b661a97bb5079d3b999cc217c0
parent9b211e760145e768aeab199bb7e7e3a7b89b84ab (diff)
downloadrack-environment.tar.gz
Is this failing?rack-environment
-rw-r--r--lib/rack/builder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/builder.rb b/lib/rack/builder.rb
index 816ecf62..533cf6b5 100644
--- a/lib/rack/builder.rb
+++ b/lib/rack/builder.rb
@@ -97,7 +97,7 @@ module Rack
cfgfile.slice!(/\A#{UTF_8_BOM}/) if cfgfile.encoding == Encoding::UTF_8
if cfgfile[/^#\\(.*)/] && opts
- warn "Parsing options from the first comment line is deprecated!"
+ raise "Parsing options from the first comment line is deprecated!"
options = opts.parse! $1.split(/\s+/)
end