Fix type for Homebrew::API::Bottle::download_bottle

This commit is contained in:
Rylan Polster 2021-08-09 17:20:27 -04:00
parent 489f5ed9d1
commit b88158c148
No known key found for this signature in database
GPG Key ID: 46A744940CFF4D64

View File

@ -66,7 +66,7 @@ module Homebrew
match[:sha256] match[:sha256]
end end
sig { params(hash: Hash, tag: Symbol).void } sig { params(hash: Hash, tag: String).void }
def download_bottle(hash, tag) def download_bottle(hash, tag)
bottle = hash["bottles"][tag] bottle = hash["bottles"][tag]
bottle ||= hash["bottles"]["all"] bottle ||= hash["bottles"]["all"]