migrator: recommend brew upgrade.
You’re in a weird middle state if you run `brew update` but haven’t upgraded a migrated formula.
This commit is contained in:
parent
6302da37f6
commit
2f776ed523
@ -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