diff options
| author | Markus Reiter | 2017-05-19 19:59:26 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-05-22 02:51:16 +0200 |
| commit | a44d4ce88b6fb3deea8dc41be662583941d5c96d (patch) | |
| tree | 64729222f90fc00b6d6a0e7378dec005f9771444 /Library/Homebrew/cask/lib/hbc/system_command.rb | |
| parent | 9e821863d0ed97254bbae314b97af18d2f09cdfa (diff) | |
| download | brew-a44d4ce88b6fb3deea8dc41be662583941d5c96d.tar.bz2 | |
Remove Cask’s `CLI#debug?`.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/system_command.rb')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/system_command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/system_command.rb b/Library/Homebrew/cask/lib/hbc/system_command.rb index c14079bc8..ac2a2346e 100644 --- a/Library/Homebrew/cask/lib/hbc/system_command.rb +++ b/Library/Homebrew/cask/lib/hbc/system_command.rb @@ -154,7 +154,7 @@ module Hbc def self._parse_plist(command, output) raise CaskError, "Empty plist input" unless output =~ /\S/ output.sub!(/\A(.*?)(<\?\s*xml)/m, '\2') - _warn_plist_garbage(command, Regexp.last_match[1]) if CLI.debug? + _warn_plist_garbage(command, Regexp.last_match[1]) if ARGV.debug? output.sub!(%r{(<\s*/\s*plist\s*>)(.*?)\Z}m, '\1') _warn_plist_garbage(command, Regexp.last_match[2]) xml = Plist.parse_xml(output) |
