Skip to content
Snippets Groups Projects
Commit 265ab264 authored by Shaun Jackman's avatar Shaun Jackman
Browse files

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'
parent 8ddaab7a
No related branches found
No related tags found
No related merge requests found
......@@ -539,7 +539,8 @@ class ErrorDuringExecution < RuntimeError
s = "Failure while executing; `#{cmd.shelljoin.gsub(/\\=/, "=")}` exited with #{exitstatus}."
unless [*output].empty?
format_output_line = lambda do |type, line|
format_output_line = lambda do |type_line|
type, line = *type_line
if type == :stderr
Formatter.error(line)
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment