Unbottled: fix use of invalid argument

This commit is contained in:
Misty De Méo 2021-04-26 11:44:35 -07:00
parent c5bcfe8fac
commit 1978f4be65

View File

@ -216,7 +216,7 @@ module Homebrew
end
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
if deps.blank?