Merge pull request #6525 from reitermarkus/cask-taps

Disable tapping of `caskroom` taps.
This commit is contained in:
Markus Reiter 2019-10-03 10:07:43 +02:00 committed by GitHub
commit 9a6d7dd2fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -241,6 +241,8 @@ class Tap
if official? && DEPRECATED_OFFICIAL_TAPS.include?(repo)
odie "#{name} was deprecated. This tap is now empty as all its formulae were migrated."
elsif user == "caskroom"
odie "#{name} was moved. Tap homebrew/cask-#{repo} instead."
end
if installed? && force_auto_update.nil?