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)
|
@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),
|
@is_dev_cmd = T.let(T.must(cmd_location.absolute_path).start_with?(Commands::HOMEBREW_DEV_CMD_PATH),
|
||||||
T::Boolean)
|
T::Boolean)
|
||||||
odeprecated(
|
# odeprecated(
|
||||||
"`brew #{@command_name}'. This command needs to be refactored, as it is written in a style that",
|
# "`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 )",
|
# "inheritance from `Homebrew::AbstractCommand' ( see https://docs.brew.sh/External-Commands )",
|
||||||
disable_for_developers: false,
|
# disable_for_developers: false,
|
||||||
)
|
# )
|
||||||
end
|
end
|
||||||
|
|
||||||
@constraints = T.let([], T::Array[[String, String]])
|
@constraints = T.let([], T::Array[[String, String]])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user