aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim D. Smith2016-06-27 18:01:43 -0700
committerTim D. Smith2016-06-29 21:16:50 -0700
commit4e927d9ce855cbd74b2f893237bb2b6489f88da8 (patch)
tree9ea38caaf199bd4d9746d3108e3260d55a04bf7d
parent452fbda9af1bf8b4dfa1b4955ecb78f9790d8161 (diff)
downloadbrew-4e927d9ce855cbd74b2f893237bb2b6489f88da8.tar.bz2
Remove unused variable Step#@time
Shadowed by Step#time method.
-rw-r--r--Library/Homebrew/dev-cmd/test-bot.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/dev-cmd/test-bot.rb b/Library/Homebrew/dev-cmd/test-bot.rb
index 745d66a33..9af16ebb6 100644
--- a/Library/Homebrew/dev-cmd/test-bot.rb
+++ b/Library/Homebrew/dev-cmd/test-bot.rb
@@ -96,7 +96,7 @@ module Homebrew
# Wraps command invocations. Instantiated by Test#test.
# Handles logging and pretty-printing.
class Step
- attr_reader :command, :name, :status, :output, :time
+ attr_reader :command, :name, :status, :output
# Instantiates a Step object.
# @param test [Test] The parent Test object
@@ -112,7 +112,6 @@ module Homebrew
@name = command[1].delete("-")
@status = :running
@repository = options[:repository] || HOMEBREW_REPOSITORY
- @time = 0
end
def log_file_path