Fix CaskCommandFailedError.

This commit is contained in:
Markus Reiter 2016-10-11 17:35:09 +02:00
parent 04ccba5489
commit bb3c689371

View File

@ -68,7 +68,7 @@ module Hbc
s = "Command failed to execute!\n" s = "Command failed to execute!\n"
s.concat("\n") s.concat("\n")
s.concat("==> Failed command:\n") s.concat("==> Failed command:\n")
s.concat(@cmd).concat("\n") s.concat(@cmd.join(" ")).concat("\n")
s.concat("\n") s.concat("\n")
s.concat("==> Standard Output of failed command:\n") s.concat("==> Standard Output of failed command:\n")
s.concat(@stdout).concat("\n") s.concat(@stdout).concat("\n")