aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat
diff options
context:
space:
mode:
authorMarkus Reiter2016-12-30 16:13:09 +0100
committerMarkus Reiter2016-12-30 16:13:09 +0100
commitcea1d18f45608dda5d3185659b790df1c5d1b4e7 (patch)
treeb424ddbed22077b4009e311fb30e41d7ed7be275 /Library/Homebrew/compat
parentddaf17396e4d0888ed2429821a94990800bd0814 (diff)
downloadbrew-cea1d18f45608dda5d3185659b790df1c5d1b4e7.tar.bz2
Do not require `compat/hbc/cli/update` when `—no-compat` is specified.
Diffstat (limited to 'Library/Homebrew/compat')
-rw-r--r--Library/Homebrew/compat/hbc.rb1
-rw-r--r--Library/Homebrew/compat/hbc/cli/update.rb2
2 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/compat/hbc.rb b/Library/Homebrew/compat/hbc.rb
index a1d1414a5..179639953 100644
--- a/Library/Homebrew/compat/hbc.rb
+++ b/Library/Homebrew/compat/hbc.rb
@@ -1 +1,2 @@
require "compat/hbc/cask_loader"
+require "compat/hbc/cli/update"
diff --git a/Library/Homebrew/compat/hbc/cli/update.rb b/Library/Homebrew/compat/hbc/cli/update.rb
index ab161ea65..80f961228 100644
--- a/Library/Homebrew/compat/hbc/cli/update.rb
+++ b/Library/Homebrew/compat/hbc/cli/update.rb
@@ -1,3 +1,5 @@
+require "cask/lib/hbc/cli/base"
+
module Hbc
class CLI
class Update < Base