Library/Homebrew/migrator.rb
def update_tabs
    new_tabs = new_cellar.subdirs.map { |d| Tab.for_keg(Keg.new(d)) }
    new_tabs.each do |tab|
      tab.source["path"] = formula.path.to_s if tab.source["path"]
      tab.write
    end
  end
# After migtaion every INSTALL_RECEIPT.json has wrong path to the formula
# so we must update INSTALL_RECEIPTs
After migtaion every INSTALL_RECEIPT.json has wrong path to the formula
so we must update INSTALL_RECEIPTs
After migtaion every INSTALL_RECEIPT . json has wrong path to the formula so we must update INSTALL_RECEIPTs
def update_tabs
    new_tabs = new_cellar.subdirs.map { |d| Tab.for_keg(Keg.new(d)) }
    new_tabs.each do |tab|
      tab.source["path"] = formula.path.to_s if tab.source["path"]
      tab.write
    end
  end
def update_tabs new_tabs = new_cellar . subdirs . map { | d | Tab . for_keg ( Keg . new ( d ) ) } new_tabs . each do | tab | tab . source [ "path" ] = formula . path . to_s if tab . source [ "path" ] tab . write end end
After migtaion every INSTALL_RECEIPT.json has wrong path to the formula
so we must update INSTALL_RECEIPTs
After migtaion every INSTALL_RECEIPT . json has wrong path to the formula so we must update INSTALL_RECEIPTs