Update Library/Homebrew/cli/parser.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
f7e17713a2
commit
becb84fc65
@ -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]])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user