Merge pull request #3864 from MikeMcQuaid/migrator-upgrade
migrator: recommend upgrade.
This commit is contained in:
commit
08f7e8c588
@ -193,6 +193,11 @@ class Migrator
|
||||
link_oldname_opt
|
||||
link_newname unless old_linked_keg.nil?
|
||||
update_tabs
|
||||
return unless formula.outdated?
|
||||
opoo <<~EOS
|
||||
#{Formatter.identifier(newname)} is outdated! Please run as soon as possible:
|
||||
brew upgrade #{newname}
|
||||
EOS
|
||||
rescue Interrupt
|
||||
ignore_interrupts { backup_oldname }
|
||||
rescue Exception => e # rubocop:disable Lint/RescueException
|
||||
|
Loading…
x
Reference in New Issue
Block a user