Commit af722a96 authored by Peter Leitzen's avatar Peter Leitzen

Merge branch '354328-rubocop-todo-move-Style/ExpandPathArguments' into 'master'

Fix remaining offense for Style/ExpandPathArguments

See merge request gitlab-org/gitlab!83728
parents 841df21e 778c06c6
......@@ -452,13 +452,6 @@ Style/EmptyElse:
Style/EmptyMethod:
Enabled: false
# Offense count: 2
# Cop supports --auto-correct.
Style/ExpandPathArguments:
Exclude:
- 'cable/config.ru'
- 'config.ru'
# Offense count: 118
# Cop supports --auto-correct.
Style/ExplicitBlockArgument:
......
......@@ -2,7 +2,7 @@
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
require ::File.expand_path('config/environment', __dir__)
warmup do |app|
client = Rack::MockRequest.new(app)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment