Skip to content

Commit

Permalink
Merge pull request #11952 from FnControlOption/upgrade
Browse files Browse the repository at this point in the history
upgrade: revert renaming of create_formula_installer
  • Loading branch information
MikeMcQuaid authored Sep 1, 2021
2 parents d5bf520 + 03177b5 commit 2a22bc3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Library/Homebrew/upgrade.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def upgrade_formulae(
formula_installers = formulae_to_install.map do |formula|
Migrator.migrate_if_needed(formula, force: force, dry_run: dry_run)
begin
fi = create_and_fetch_formula_installer(
fi = create_formula_installer(
formula,
flags: flags,
installed_on_request: installed_on_request,
Expand Down Expand Up @@ -106,7 +106,7 @@ def print_upgrade_message(formula, fi_options)
EOS
end

def create_and_fetch_formula_installer(
def create_formula_installer(
formula,
flags:,
installed_on_request: false,
Expand Down Expand Up @@ -154,7 +154,7 @@ def create_and_fetch_formula_installer(
}.compact,
)
end
private_class_method :create_and_fetch_formula_installer
private_class_method :create_formula_installer

def upgrade_formula(formula_installer, dry_run: false, verbose: false)
formula = formula_installer.formula
Expand Down

0 comments on commit 2a22bc3

Please sign in to comment.