aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2015-11-04 08:34:28 +0100
committerXavier Noria <fxn@hashref.com>2015-11-08 22:49:50 -0800
commitb685095fc957a428fd86514d28a9183dbbdc3ab5 (patch)
tree0a429881fc9ba718940d466ef4746c319b2e1062 /activesupport/lib
parent0462329166cc667c2dc81abc85493e2ae6db5e4c (diff)
downloadrails-b685095fc957a428fd86514d28a9183dbbdc3ab5.tar.gz
rails-b685095fc957a428fd86514d28a9183dbbdc3ab5.tar.bz2
rails-b685095fc957a428fd86514d28a9183dbbdc3ab5.zip
remove explicit File.expand_path call
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/file_evented_update_checker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/file_evented_update_checker.rb b/activesupport/lib/active_support/file_evented_update_checker.rb
index 70d38c10bb..18ac398a43 100644
--- a/activesupport/lib/active_support/file_evented_update_checker.rb
+++ b/activesupport/lib/active_support/file_evented_update_checker.rb
@@ -84,7 +84,7 @@ module ActiveSupport
end
def existing_parent(dir)
- dir = Pathname.new(File.expand_path(dir))
+ dir = Pathname.new(expand_path(dir))
loop do
if dir.directory?