Skip to content
Snippets Groups Projects
Commit 72ce3fab authored by Markus Reiter's avatar Markus Reiter
Browse files

Add `cask-eid` to list of deprecated taps.

parent 6d9bf728
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment