Skip to content
Snippets Groups Projects
Unverified Commit f9bbf449 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #8326 from reitermarkus/deprecate-cask-eid

Add `cask-eid` to list of deprecated taps.
parents 34972abf 72ce3fab
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