aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/system_command.rb
diff options
context:
space:
mode:
authorMarkus Reiter2016-08-24 20:23:50 +0200
committerGitHub2016-08-24 20:23:50 +0200
commit72846fac47eb16e1f423b02637e11476e15752cd (patch)
tree3e41655ae6557e87180bfb8f1e636f9fd76c1aa6 /Library/Homebrew/cask/lib/hbc/system_command.rb
parent4f6a46f4b1a35b96e3f801c1168538d2346c92a2 (diff)
parent50fee143583b129a86a56bdc21d1f4ff4b9f5812 (diff)
downloadbrew-72846fac47eb16e1f423b02637e11476e15752cd.tar.bz2
Merge pull request #803 from reitermarkus/heredoc-style
Unify heredoc style.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/system_command.rb')
-rw-r--r--Library/Homebrew/cask/lib/hbc/system_command.rb8
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