Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
FormulaInstaller: rescue tap unavail for reqs too
Browse files Browse the repository at this point in the history
Calling `compute_dependencies` will make sure both requirements and
dependencies are expanded, so that any referenced taps can be
auto-tapped. Prior to this commit only dependencies were expanded for
the sake of auto-tapping, so dependencies of requirements would cause
installation to fail whenever a tap unavailable exception was
encountered.

Closes #50271

Closes #50281.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
  • Loading branch information
ilovezfs committed Mar 29, 2016
1 parent 83eed09 commit 8999034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/formula_installer.rb
Expand Up @@ -126,7 +126,7 @@ def prelude

def verify_deps_exist
begin
formula.recursive_dependencies.map(&:to_formula)
compute_dependencies
rescue TapFormulaUnavailableError => e
if e.tap.installed?
raise
Expand Down

0 comments on commit 8999034

Please sign in to comment.