Skip to content
Snippets Groups Projects
Commit 9bbaaca9 authored by ilovezfs's avatar ilovezfs Committed by Xu Cheng
Browse files

FormulaInstaller: rescue tap unavail for reqs too


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 Homebrew/homebrew#50271

Closes Homebrew/homebrew#50281.

Signed-off-by: default avatarilovezfs <ilovezfs@icloud.com>
parent a87eb23a
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ class FormulaInstaller
def verify_deps_exist
begin
formula.recursive_dependencies.map(&:to_formula)
compute_dependencies
rescue TapFormulaUnavailableError => e
if e.tap.installed?
raise
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment