mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Prevent tapping phinze/cask
.
This commit is contained in:
parent
91d58cdc99
commit
fc9a74dd28
@ -235,7 +235,7 @@ class Tap
|
|||||||
|
|
||||||
if official? && DEPRECATED_OFFICIAL_TAPS.include?(repo)
|
if official? && DEPRECATED_OFFICIAL_TAPS.include?(repo)
|
||||||
odie "#{name} was deprecated. This tap is now empty and all its contents were either deleted or migrated."
|
odie "#{name} was deprecated. This tap is now empty and all its contents were either deleted or migrated."
|
||||||
elsif user == "caskroom"
|
elsif user == "caskroom" || name == "phinze/cask"
|
||||||
new_repo = repo == "cask" ? "cask" : "cask-#{repo}"
|
new_repo = repo == "cask" ? "cask" : "cask-#{repo}"
|
||||||
odie "#{name} was moved. Tap homebrew/#{new_repo} instead."
|
odie "#{name} was moved. Tap homebrew/#{new_repo} instead."
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user