Commit 778c06c6 authored by Vitali Tatarintev's avatar Vitali Tatarintev Committed by Peter Leitzen

Fix remaining offense for Style/ExpandPathArguments

parent 58d7b33a
......@@ -471,13 +471,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