Merge pull request #11254 from mistydemeo/unbottled_fix_argument

Unbottled: fix use of invalid argument
This commit is contained in:
Bo Anderson 2021-04-26 20:19:36 +01:00 committed by GitHub
commit 1157a97d8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,7 +216,7 @@ module Homebrew
end end
deps = Array(deps_hash[f.name]).reject do |dep| deps = Array(deps_hash[f.name]).reject do |dep|
dep.bottle_specification.tag?(@bottle_tag, exact: true) || dep.bottle_unneeded? dep.bottle_specification.tag?(@bottle_tag, no_older_versions: true) || dep.bottle_unneeded?
end end
if deps.blank? if deps.blank?