diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-02-12 20:44:15 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-02-12 20:44:15 +0900 |
commit | 16ee3ccc9c7992269e69e9e809257d56c81ce174 (patch) | |
tree | f9cc344c906515c62e872f06d9545acf5eaa7dd9 /railties/lib | |
parent | 4fed08fa787a316fa51f14baca9eae11913f5050 (diff) | |
download | rails-16ee3ccc9c7992269e69e9e809257d56c81ce174.tar.gz rails-16ee3ccc9c7992269e69e9e809257d56c81ce174.tar.bz2 rails-16ee3ccc9c7992269e69e9e809257d56c81ce174.zip |
Add `Style/EmptyLinesAroundMethodBody` in `.rubocop.yml` and remove extra empty lines
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/engine.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/railties/lib/rails/engine.rb b/railties/lib/rails/engine.rb index 13af6051ce..dc0b158bd4 100644 --- a/railties/lib/rails/engine.rb +++ b/railties/lib/rails/engine.rb @@ -661,7 +661,6 @@ module Rails end def self.find_root_with_flag(flag, root_path, default = nil) #:nodoc: - while root_path && File.directory?(root_path) && !File.exist?("#{root_path}/#{flag}") parent = File.dirname(root_path) root_path = parent != root_path && parent |