dev-cmd/contributions: Don't have cask in SUPPORTED_REPOS twice
- Also stop skipping a "versions" repo. Since 023261038192a4f55c95a4d2486873ec1c9a728a the `Homebrew/homebrew-cask-versions` tap won't get mistaken for `Homebrew/homebrew-versions` tap.
This commit is contained in:
parent
8c762d9687
commit
31331663e4
@ -11,7 +11,7 @@ module Homebrew
|
||||
SUPPORTED_REPOS = [
|
||||
%w[brew core cask],
|
||||
OFFICIAL_CMD_TAPS.keys.map { |t| t.delete_prefix("homebrew/") },
|
||||
OFFICIAL_CASK_TAPS,
|
||||
OFFICIAL_CASK_TAPS.reject { |t| t == "cask" },
|
||||
].flatten.freeze
|
||||
|
||||
sig { returns(CLI::Parser) }
|
||||
@ -55,7 +55,6 @@ module Homebrew
|
||||
|
||||
repo_path = find_repo_path_for_repo(repo)
|
||||
unless repo_path.exist?
|
||||
next if repo == "versions" # This tap is deprecated, tapping it will error.
|
||||
|
||||
opoo "Repository #{repo} not yet tapped! Tapping it now..."
|
||||
Tap.fetch("homebrew", repo).install
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user