Skip to content

Commit

Permalink
Remove uninitialized constants
Browse files Browse the repository at this point in the history
These constants were removed from Rack in rack/rack#1720
  • Loading branch information
albertski committed Jan 26, 2024
1 parent 99dc164 commit 504c94c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions lib/lamby/rack_alb.rb
Expand Up @@ -47,9 +47,6 @@ def env_base
::Rack::RACK_URL_SCHEME => headers['x-forwarded-proto'],
::Rack::RACK_INPUT => StringIO.new(body || ''),
::Rack::RACK_ERRORS => $stderr,
::Rack::RACK_MULTITHREAD => false,
::Rack::RACK_MULTIPROCESS => false,
::Rack::RACK_RUNONCE => false,
LAMBDA_EVENT => event,
LAMBDA_CONTEXT => context
}.tap do |env|
Expand Down
3 changes: 0 additions & 3 deletions lib/lamby/rack_http.rb
Expand Up @@ -42,9 +42,6 @@ def env_base
::Rack::RACK_URL_SCHEME => 'https',
::Rack::RACK_INPUT => StringIO.new(body || ''),
::Rack::RACK_ERRORS => $stderr,
::Rack::RACK_MULTITHREAD => false,
::Rack::RACK_MULTIPROCESS => false,
::Rack::RACK_RUNONCE => false,
LAMBDA_EVENT => event,
LAMBDA_CONTEXT => context
}.tap do |env|
Expand Down
3 changes: 0 additions & 3 deletions lib/lamby/rack_rest.rb
Expand Up @@ -36,9 +36,6 @@ def env_base
::Rack::RACK_URL_SCHEME => 'https',
::Rack::RACK_INPUT => StringIO.new(body || ''),
::Rack::RACK_ERRORS => $stderr,
::Rack::RACK_MULTITHREAD => false,
::Rack::RACK_MULTIPROCESS => false,
::Rack::RACK_RUNONCE => false,
LAMBDA_EVENT => event,
LAMBDA_CONTEXT => context
}.tap do |env|
Expand Down

0 comments on commit 504c94c

Please sign in to comment.