Merge pull request #4670 from reitermarkus/disable-cask-search

Disable `brew cask search` the same time as `brew cask cleanup`.
This commit is contained in:
Markus Reiter 2018-08-13 20:57:13 +02:00 committed by GitHub
commit 6a581159e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ module Hbc
module Compat
class Search < AbstractCommand
def run
odeprecated "`brew cask search`", "`brew search`"
odeprecated "`brew cask search`", "`brew search`", disable_on: Time.new(2018, 9, 30)
Homebrew.search(args.empty? ? "--casks" : args)
end