doctor: suggest brew update in outdated warning
Closes Homebrew/homebrew#19106. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
da9078aa51
commit
79c745cc76
@ -1009,8 +1009,9 @@ def check_for_outdated_homebrew
|
||||
end
|
||||
|
||||
if Time.now.to_i - timestamp > 60 * 60 * 24 then <<-EOS.undent
|
||||
Your Homebrew is outdated
|
||||
Your Homebrew is outdated.
|
||||
You haven't updated for at least 24 hours, this is a long time in brewland!
|
||||
To update Homebrew, run `brew update`.
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user