Merge pull request #1265 from reitermarkus/fix-cmd-exception

Fix CaskCommandFailedError.
This commit is contained in:
Markus Reiter 2016-10-11 19:40:01 +02:00 committed by GitHub
commit 4a1dddf527

View File

@ -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")