Merge pull request #10632 from hyuraku/completions-delete-brew-cask-check

completions: delete brew-cask check
This commit is contained in:
Mike McQuaid 2021-02-16 13:57:17 +00:00 committed by GitHub
commit 74fd6c823c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,8 +129,6 @@ module Homebrew
sig { params(command: String).returns(T::Boolean) }
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?
end