ErrorDuringExecution: Fix wrong number of arguments
Error: wrong number of arguments (given 1, expected 2) /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/exceptions.rb:548:in `block in initialize' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/exceptions.rb:557:in `map'
This commit is contained in:
parent
8ddaab7a40
commit
265ab264fd
@ -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