aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/file_update_checker.rb
diff options
context:
space:
mode:
authorBlake Mesdag <blakemesdag@gmail.com>2016-04-12 13:49:41 -0400
committerBlake Mesdag <blakemesdag@gmail.com>2016-04-12 13:49:41 -0400
commitf05704fc1aec5f859c78a75d26dc694c51a729af (patch)
tree164a32de562bfe4c2142b4e69628947f8360ada6 /activesupport/lib/active_support/file_update_checker.rb
parentfad2428e357f5e88e745aa402e21cdfcb700fbc0 (diff)
downloadrails-f05704fc1aec5f859c78a75d26dc694c51a729af.tar.gz
rails-f05704fc1aec5f859c78a75d26dc694c51a729af.tar.bz2
rails-f05704fc1aec5f859c78a75d26dc694c51a729af.zip
No more need for an early return
Diffstat (limited to 'activesupport/lib/active_support/file_update_checker.rb')
-rw-r--r--activesupport/lib/active_support/file_update_checker.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/file_update_checker.rb b/activesupport/lib/active_support/file_update_checker.rb
index 2a1a8f9797..fa0b1a4bcf 100644
--- a/activesupport/lib/active_support/file_update_checker.rb
+++ b/activesupport/lib/active_support/file_update_checker.rb
@@ -111,8 +111,6 @@ module ActiveSupport
# healthy to consider this edge case because with mtimes in the future
# reloading is not triggered.
def max_mtime(paths)
- return nil if paths.empty?
-
time_now = Time.now
max_mtime = nil