Exception: Migrator::MigrationNeededError

Inherits:
RuntimeError
  • Object
show all
Defined in:
Library/Homebrew/migrator.rb

Instance Method Summary collapse

Constructor Details

#initialize(formula) ⇒ MigrationNeededError

Returns a new instance of MigrationNeededError



8
9
10
11
12
13
# File 'Library/Homebrew/migrator.rb', line 8

def initialize(formula)
  super <<~EOS
    #{formula.oldname} was renamed to #{formula.name} and needs to be migrated.
    Please run `brew migrate #{formula.oldname}`
  EOS
end