Remove unused attribute from BuildError
This commit is contained in:
parent
a607c71123
commit
2332e6525d
@ -145,13 +145,12 @@ class FormulaConflictError < Homebrew::InstallationError
|
||||
end
|
||||
|
||||
class BuildError < Homebrew::InstallationError
|
||||
attr_reader :command, :env
|
||||
attr_reader :env
|
||||
|
||||
def initialize(formula, cmd, args, env)
|
||||
@command = cmd
|
||||
@env = env
|
||||
args = args.map{ |arg| arg.to_s.gsub " ", "\\ " }.join(" ")
|
||||
super formula, "Failed executing: #{command} #{args}"
|
||||
super formula, "Failed executing: #{cmd} #{args}"
|
||||
end
|
||||
|
||||
def issues
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user