Update Library/Homebrew/cli/parser.rb

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Douglas Eichelberger 2024-08-13 13:03:48 -07:00 committed by GitHub
parent f7e17713a2
commit becb84fc65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -167,11 +167,11 @@ module Homebrew
@command_name = T.let(T.must(cmd_location.label).chomp("_args").tr("_", "-"), String)
@is_dev_cmd = T.let(T.must(cmd_location.absolute_path).start_with?(Commands::HOMEBREW_DEV_CMD_PATH),
T::Boolean)
odeprecated(
"`brew #{@command_name}'. This command needs to be refactored, as it is written in a style that",
"inheritance from `Homebrew::AbstractCommand' ( see https://docs.brew.sh/External-Commands )",
disable_for_developers: false,
)
# odeprecated(
# "`brew #{@command_name}'. This command needs to be refactored, as it is written in a style that",
# "inheritance from `Homebrew::AbstractCommand' ( see https://docs.brew.sh/External-Commands )",
# disable_for_developers: false,
# )
end
@constraints = T.let([], T::Array[[String, String]])