No more need for an early return
This commit is contained in:
parent
fad2428e35
commit
f05704fc1a
@ -111,8 +111,6 @@ def updated_at(paths)
|
|||||||
# healthy to consider this edge case because with mtimes in the future
|
# healthy to consider this edge case because with mtimes in the future
|
||||||
# reloading is not triggered.
|
# reloading is not triggered.
|
||||||
def max_mtime(paths)
|
def max_mtime(paths)
|
||||||
return nil if paths.empty?
|
|
||||||
|
|
||||||
time_now = Time.now
|
time_now = Time.now
|
||||||
max_mtime = nil
|
max_mtime = nil
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user