aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/cask.rb
diff options
context:
space:
mode:
authorMarkus Reiter2017-03-08 02:43:22 +0100
committerGitHub2017-03-08 02:43:22 +0100
commitfe694f6db9190239fd4a84f1208d218aa02c0474 (patch)
tree6c5bd9d72442a6dd2eb5214c50570f29dbf330f4 /Library/Homebrew/cask/lib/hbc/cask.rb
parent9a4538a3254297f7830afe16ea5a78fb3a9c0146 (diff)
parent3b8524d770172ec4aacb48fceb4dc8d2c1836bce (diff)
downloadbrew-fe694f6db9190239fd4a84f1208d218aa02c0474.tar.bz2
Merge pull request #2284 from reitermarkus/cask-refactor-cli
Refactor CLI options.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cask.rb')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cask.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cask.rb b/Library/Homebrew/cask/lib/hbc/cask.rb
index 41357760d..52dd676b4 100644
--- a/Library/Homebrew/cask/lib/hbc/cask.rb
+++ b/Library/Homebrew/cask/lib/hbc/cask.rb
@@ -90,8 +90,7 @@ module Hbc
end
def dumpcask
- return unless Hbc.respond_to?(:debug)
- return unless Hbc.debug
+ return unless CLI.debug?
odebug "Cask instance dumps in YAML:"
odebug "Cask instance toplevel:", to_yaml