diff options
| author | Markus Reiter | 2016-08-24 13:23:27 +0200 |
|---|---|---|
| committer | Markus Reiter | 2016-08-24 13:52:46 +0200 |
| commit | 50fee143583b129a86a56bdc21d1f4ff4b9f5812 (patch) | |
| tree | d1ea11a4c25a6ea45a1bf5d8340714c281cf645b /Library/Homebrew/cask/lib/hbc/system_command.rb | |
| parent | fa19447a2d9d311909452ee35b309d08558c9a3a (diff) | |
| download | brew-50fee143583b129a86a56bdc21d1f4ff4b9f5812.tar.bz2 | |
Unify heredoc style.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/system_command.rb')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/system_command.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/system_command.rb b/Library/Homebrew/cask/lib/hbc/system_command.rb index 6fa8a901f..bb8d91504 100644 --- a/Library/Homebrew/cask/lib/hbc/system_command.rb +++ b/Library/Homebrew/cask/lib/hbc/system_command.rb @@ -150,17 +150,17 @@ class Hbc::SystemCommand::Result _warn_plist_garbage(command, Regexp.last_match[2]) xml = Plist.parse_xml(output) unless xml.respond_to?(:keys) && !xml.keys.empty? - raise Hbc::CaskError, <<-ERRMSG + raise Hbc::CaskError, <<-EOS Empty result parsing plist output from command. command was: #{command.utf8_inspect} output we attempted to parse: #{output} - ERRMSG + EOS end xml rescue Plist::ParseError => e - raise Hbc::CaskError, <<-ERRMSG + raise Hbc::CaskError, <<-EOS Error parsing plist output from command. command was: #{command.utf8_inspect} @@ -168,6 +168,6 @@ Error parsing plist output from command. #{e} output we attempted to parse: #{output} - ERRMSG + EOS end end |
