aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/exceptions.rb
diff options
context:
space:
mode:
authorMarkus Reiter2016-10-11 17:35:09 +0200
committerMarkus Reiter2016-10-11 18:27:01 +0200
commitbb3c6893717404f09cd2f98c9601dbabbe18b235 (patch)
treedcaf2be950109cbedd70d048c578d9ec5f561d30 /Library/Homebrew/cask/lib/hbc/exceptions.rb
parent04ccba54896b249f6a041465588e8d371a82d4bb (diff)
downloadbrew-bb3c6893717404f09cd2f98c9601dbabbe18b235.tar.bz2
Fix CaskCommandFailedError.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/exceptions.rb')
-rw-r--r--Library/Homebrew/cask/lib/hbc/exceptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/exceptions.rb b/Library/Homebrew/cask/lib/hbc/exceptions.rb
index 8c9481eec..31310aea5 100644
--- a/Library/Homebrew/cask/lib/hbc/exceptions.rb
+++ b/Library/Homebrew/cask/lib/hbc/exceptions.rb
@@ -68,7 +68,7 @@ module Hbc
s = "Command failed to execute!\n"
s.concat("\n")
s.concat("==> Failed command:\n")
- s.concat(@cmd).concat("\n")
+ s.concat(@cmd.join(" ")).concat("\n")
s.concat("\n")
s.concat("==> Standard Output of failed command:\n")
s.concat(@stdout).concat("\n")