Always clear unsatisfied_deps after installation
This commit is contained in:
parent
24a853ebe5
commit
bcfafca56b
@ -237,7 +237,6 @@ class FormulaInstaller
|
|||||||
end
|
end
|
||||||
|
|
||||||
def install_dependencies
|
def install_dependencies
|
||||||
unsatisfied_deps.clear if @pour_failed
|
|
||||||
unsatisfied_deps.concat(filter_deps)
|
unsatisfied_deps.concat(filter_deps)
|
||||||
|
|
||||||
if unsatisfied_deps.length > 1
|
if unsatisfied_deps.length > 1
|
||||||
@ -252,6 +251,8 @@ class FormulaInstaller
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
@show_header = true unless unsatisfied_deps.empty?
|
@show_header = true unless unsatisfied_deps.empty?
|
||||||
|
ensure
|
||||||
|
unsatisfied_deps.clear
|
||||||
end
|
end
|
||||||
|
|
||||||
def install_dependency dep
|
def install_dependency dep
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user