Merge pull request #16118 from EricFromCanada/preinstall-implicit-deps

formula_installer: pre-install implicit dependencies
This commit is contained in:
Eric Knibbe 2023-10-18 16:34:31 -04:00 committed by GitHub
commit 3480dda0c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -362,7 +362,7 @@ class FormulaInstaller
return if @compute_dependencies.blank?
compute_dependencies(use_cache: false) if @compute_dependencies.any? do |dep, options|
next false if dep.tags != [:build, :test]
next false unless dep.implicit?
fetch_dependencies
install_dependency(dep, options)