formula_installer: fix type for fetch_dependency
This receives a Dependency, not a Formula.
This commit is contained in:
parent
5760415e27
commit
ce67dc3e63
@ -654,7 +654,7 @@ class FormulaInstaller
|
|||||||
@show_header = true unless deps.empty?
|
@show_header = true unless deps.empty?
|
||||||
end
|
end
|
||||||
|
|
||||||
sig { params(dep: Formula).void }
|
sig { params(dep: Dependency).void }
|
||||||
def fetch_dependency(dep)
|
def fetch_dependency(dep)
|
||||||
df = dep.to_formula
|
df = dep.to_formula
|
||||||
fi = FormulaInstaller.new(
|
fi = FormulaInstaller.new(
|
||||||
@ -675,7 +675,7 @@ class FormulaInstaller
|
|||||||
fi.fetch
|
fi.fetch
|
||||||
end
|
end
|
||||||
|
|
||||||
sig { params(dep: Formula, inherited_options: Options).void }
|
sig { params(dep: Dependency, inherited_options: Options).void }
|
||||||
def install_dependency(dep, inherited_options)
|
def install_dependency(dep, inherited_options)
|
||||||
df = dep.to_formula
|
df = dep.to_formula
|
||||||
tab = Tab.for_formula(df)
|
tab = Tab.for_formula(df)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user