Use OFFICIAL_CASK_TAPS constant.

This commit is contained in:
Markus Reiter 2023-02-21 12:39:07 +01:00
parent a222a5bbc8
commit 8a81473179
No known key found for this signature in database
GPG Key ID: 245293B51702655B

View File

@ -652,7 +652,7 @@ module Homebrew
"Homebrew/homebrew-core" => CoreTap.instance.path,
}
%w[cask cask-drivers cask-fonts cask-versions].each do |tap|
OFFICIAL_CASK_TAPS.each do |tap|
cask_tap = Tap.fetch "homebrew", tap
repos[cask_tap.full_name] = cask_tap.path if cask_tap.installed?
end