aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-09-13 19:49:27 -0500
committerJack Nagel2014-09-13 19:49:27 -0500
commit2332e6525d6460790e8d7be44291fd63a06c5eea (patch)
treeacec27250248a6f74246d88065ca7ca11bf6fb18
parenta607c71123ff42fe7060f8c49a12a247c13104a6 (diff)
downloadbrew-2332e6525d6460790e8d7be44291fd63a06c5eea.tar.bz2
Remove unused attribute from BuildError
-rw-r--r--Library/Homebrew/exceptions.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index a25a36f56..d104b23dd 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