mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Initialize variables in file update checker to avoid warnings
This commit is contained in:
parent
b1e55041eb
commit
b621ded813
1 changed files with 3 additions and 0 deletions
|
@ -54,6 +54,9 @@ module ActiveSupport
|
||||||
@glob = compile_glob(dirs)
|
@glob = compile_glob(dirs)
|
||||||
@block = block
|
@block = block
|
||||||
|
|
||||||
|
@watched = nil
|
||||||
|
@updated_at = nil
|
||||||
|
|
||||||
@last_watched = watched
|
@last_watched = watched
|
||||||
@last_update_at = updated_at(@last_watched)
|
@last_update_at = updated_at(@last_watched)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue