Update Library/Homebrew/formula.rb

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Rylan Polster 2021-06-07 10:19:14 -04:00 committed by GitHub
parent aebaa7f8df
commit a2a92ba375
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1915,7 +1915,7 @@ class Formula
bottles = bottle["files"].map do |tag, file| bottles = bottle["files"].map do |tag, file|
info = { "url" => file["url"] } info = { "url" => file["url"] }
info["sha256"] = file["sha256"] unless tap.name == "homebrew/core" info["sha256"] = file["sha256"] if tap.name != "homebrew/core"
[tag.to_s, info] [tag.to_s, info]
end.to_h end.to_h