aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorJack Nagel2014-05-28 19:00:54 -0500
committerJack Nagel2014-05-28 19:02:30 -0500
commitf37900b03f53e15ef0bcefd61a1ee422aeedf92c (patch)
tree9e5c5e08b3f52797b4b3efc2b6fe29aeff84771d /Library/Homebrew/exceptions.rb
parent2bd6daf65736facad4800a77aa8937cd6622cfe8 (diff)
downloadhomebrew-f37900b03f53e15ef0bcefd61a1ee422aeedf92c.tar.bz2
Remove unused attribute
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-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 0b0bf632f..e68cb9b13 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -154,12 +154,11 @@ class FormulaConflictError < Homebrew::InstallationError
end
class BuildError < Homebrew::InstallationError
- attr_reader :exit_status, :command, :env
+ attr_reader :command, :env
- def initialize formula, cmd, args, es
+ def initialize formula, cmd, args
@command = cmd
@env = ENV.to_hash
- @exit_status = es.exitstatus rescue 1
args = args.map{ |arg| arg.to_s.gsub " ", "\\ " }.join(" ")
super formula, "Failed executing: #{command} #{args}"
end