Skip to content

Commit

Permalink
Fix Lint/UnusedBlockArgument
Browse files Browse the repository at this point in the history
  • Loading branch information
barrucadu committed Jul 20, 2020
1 parent 799fe6b commit 17324c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/govuk_app_config/govuk_unicorn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def self.configure(config)
config.stderr_path "#{ENV['GOVUK_APP_LOGROOT']}/app.err.log"
end

config.before_exec do |server|
config.before_exec do |_server|
next unless ENV["GOVUK_APP_ROOT"]

ENV["BUNDLE_GEMFILE"] = "#{ENV['GOVUK_APP_ROOT']}/Gemfile"
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/govuk_logging_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class DummyLoggingRailsApp < Rails::Application
config.hosts.clear
routes.draw do
get "/error", to: proc { |env| raise Exception, "default exception" }
get "/error", to: proc { |_env| raise Exception, "default exception" }
end
end

Expand Down

0 comments on commit 17324c6

Please sign in to comment.