formula_installer: add comment.

This commit is contained in:
Mike McQuaid 2023-01-04 14:19:22 +00:00 committed by GitHub
parent e234fb7542
commit 752d1fa114
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1156,6 +1156,7 @@ class FormulaInstaller
def fetch_dependencies def fetch_dependencies
return if ignore_deps? return if ignore_deps?
# Don't output dependencies if we're explicitly installing them.
deps = compute_dependencies.reject do |dep, _options| deps = compute_dependencies.reject do |dep, _options|
self.class.fetched.include?(dep.to_formula) self.class.fetched.include?(dep.to_formula)
end end