Merge pull request #5470 from sjackman/ErrorDuringExecution
ErrorDuringExecution: Fix wrong number of arguments
This commit is contained in:
commit
74b0adeb3f
@ -539,7 +539,8 @@ class ErrorDuringExecution < RuntimeError
|
|||||||
s = "Failure while executing; `#{cmd.shelljoin.gsub(/\\=/, "=")}` exited with #{exitstatus}."
|
s = "Failure while executing; `#{cmd.shelljoin.gsub(/\\=/, "=")}` exited with #{exitstatus}."
|
||||||
|
|
||||||
unless [*output].empty?
|
unless [*output].empty?
|
||||||
format_output_line = lambda do |type, line|
|
format_output_line = lambda do |type_line|
|
||||||
|
type, line = *type_line
|
||||||
if type == :stderr
|
if type == :stderr
|
||||||
Formatter.error(line)
|
Formatter.error(line)
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user