Merge pull request #10632 from hyuraku/completions-delete-brew-cask-check
completions: delete brew-cask check
This commit is contained in:
commit
74fd6c823c
@ -129,8 +129,6 @@ module Homebrew
|
|||||||
|
|
||||||
sig { params(command: String).returns(T::Boolean) }
|
sig { params(command: String).returns(T::Boolean) }
|
||||||
def command_gets_completions?(command)
|
def command_gets_completions?(command)
|
||||||
return false if command.start_with? "cask " # TODO: (2.8) remove when `brew cask` commands are removed
|
|
||||||
|
|
||||||
command_options(command).any?
|
command_options(command).any?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user