diff options
author | Xavier Noria <fxn@hashref.com> | 2017-02-12 03:50:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-12 03:50:51 -0800 |
commit | e4654aa93c3cf21949b72873072833b766ef7770 (patch) | |
tree | 033b466c6ea037e0dcd5513443fde63b79c278d7 /railties | |
parent | b61a029782fb843eb30bec8f36784717fddc4ba8 (diff) | |
parent | 16ee3ccc9c7992269e69e9e809257d56c81ce174 (diff) | |
download | rails-e4654aa93c3cf21949b72873072833b766ef7770.tar.gz rails-e4654aa93c3cf21949b72873072833b766ef7770.tar.bz2 rails-e4654aa93c3cf21949b72873072833b766ef7770.zip |
Merge pull request #27974 from kamipo/add_new_rubocop_rule
Add `Style/EmptyLinesAroundMethodBody` in `.rubocop.yml` and remove extra empty lines
Diffstat (limited to 'railties')
-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 |