Skip to content

Commit

Permalink
Remove unused variable Step#@time
Browse files Browse the repository at this point in the history
Shadowed by Step#time method.
  • Loading branch information
tdsmith committed Jun 30, 2016
1 parent 452fbda commit 4e927d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Library/Homebrew/dev-cmd/test-bot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def resolve_test_tap
# 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
Expand All @@ -112,7 +112,6 @@ def initialize(test, command, options = {})
@name = command[1].delete("-")
@status = :running
@repository = options[:repository] || HOMEBREW_REPOSITORY
@time = 0
end

def log_file_path
Expand Down

0 comments on commit 4e927d9

Please sign in to comment.