From f2feb326f9cce45e186a5f518499acf5de5cd241 Mon Sep 17 00:00:00 2001 From: commitay Date: Fri, 18 May 2018 08:18:35 +1000 Subject: [PATCH] cask upgrade: ensure cache exists --- Library/Homebrew/cask/lib/hbc/cli/upgrade.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb b/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb index 276b180aa1..3969546712 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb @@ -82,6 +82,10 @@ module Hbc def self.help "upgrades all outdated casks" end + + def self.needs_init? + true + end end end end