dev-cmd/contributions: Improve SUPPORTED_REPOS
array syntax
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
f5d5778186
commit
63a1a078b9
@ -8,11 +8,11 @@ module Homebrew
|
|||||||
|
|
||||||
module_function
|
module_function
|
||||||
|
|
||||||
SUPPORTED_REPOS = (
|
SUPPORTED_REPOS = [
|
||||||
%w[brew core cask] +
|
%w[brew core cask],
|
||||||
OFFICIAL_CMD_TAPS.keys.map { |t| t.delete_prefix("homebrew/") } +
|
OFFICIAL_CMD_TAPS.keys.map { |t| t.delete_prefix("homebrew/") },
|
||||||
OFFICIAL_CASK_TAPS
|
OFFICIAL_CASK_TAPS,
|
||||||
).freeze
|
].flatten.freeze
|
||||||
|
|
||||||
sig { returns(CLI::Parser) }
|
sig { returns(CLI::Parser) }
|
||||||
def contributions_args
|
def contributions_args
|
||||||
|
Loading…
x
Reference in New Issue
Block a user