mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Add cask-eid
to list of deprecated taps.
This commit is contained in:
parent
6d9bf7286e
commit
72ce3fabe2
@ -14,6 +14,7 @@ OFFICIAL_CMD_TAPS = {
|
||||
DEPRECATED_OFFICIAL_TAPS = %w[
|
||||
apache
|
||||
binary
|
||||
cask-eid
|
||||
completions
|
||||
devel-only
|
||||
dupes
|
||||
|
@ -234,9 +234,10 @@ class Tap
|
||||
require "descriptions"
|
||||
|
||||
if official? && DEPRECATED_OFFICIAL_TAPS.include?(repo)
|
||||
odie "#{name} was deprecated. This tap is now empty as all its formulae were migrated."
|
||||
odie "#{name} was deprecated. This tap is now empty and all its contents were either deleted or migrated."
|
||||
elsif user == "caskroom"
|
||||
odie "#{name} was moved. Tap homebrew/cask-#{repo} instead."
|
||||
new_repo = repo == "cask" ? "cask" : "cask-#{repo}"
|
||||
odie "#{name} was moved. Tap homebrew/#{new_repo} instead."
|
||||
end
|
||||
|
||||
requested_remote = clone_target || default_remote
|
||||
|
Loading…
x
Reference in New Issue
Block a user