Remove unused variable Step#@time
Shadowed by Step#time method.
This commit is contained in:
parent
452fbda9af
commit
4e927d9ce8
@ -96,7 +96,7 @@ module Homebrew
|
|||||||
# Wraps command invocations. Instantiated by Test#test.
|
# Wraps command invocations. Instantiated by Test#test.
|
||||||
# Handles logging and pretty-printing.
|
# Handles logging and pretty-printing.
|
||||||
class Step
|
class Step
|
||||||
attr_reader :command, :name, :status, :output, :time
|
attr_reader :command, :name, :status, :output
|
||||||
|
|
||||||
# Instantiates a Step object.
|
# Instantiates a Step object.
|
||||||
# @param test [Test] The parent Test object
|
# @param test [Test] The parent Test object
|
||||||
@ -112,7 +112,6 @@ module Homebrew
|
|||||||
@name = command[1].delete("-")
|
@name = command[1].delete("-")
|
||||||
@status = :running
|
@status = :running
|
||||||
@repository = options[:repository] || HOMEBREW_REPOSITORY
|
@repository = options[:repository] || HOMEBREW_REPOSITORY
|
||||||
@time = 0
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def log_file_path
|
def log_file_path
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user