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