Merge pull request #18281 from cho-m/linkage_checker-test

This commit is contained in:
Carlo Cabrera 2024-09-08 02:04:05 +08:00 committed by GitHub
commit 170a7ea56e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -196,7 +196,7 @@ class LinkageChecker
def check_formula_deps
filter_out = proc do |dep|
next true if dep.build?
next true if dep.build? || dep.test?
(dep.optional? || dep.recommended?) && formula.build.without?(dep)
end