From 2332e6525d6460790e8d7be44291fd63a06c5eea Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 13 Sep 2014 19:49:27 -0500 Subject: [PATCH] Remove unused attribute from BuildError --- Library/Homebrew/exceptions.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index a25a36f563..d104b23ddb 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -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