Remove unnecessary check for pour_bottle?
@start_time will be nil if we're pouring a bottle, so we don't need to also check pour_bottle?.
This commit is contained in:
parent
7c62275e13
commit
d1e6f04651
@ -407,7 +407,7 @@ class FormulaInstaller
|
|||||||
end
|
end
|
||||||
|
|
||||||
def build_time
|
def build_time
|
||||||
@build_time ||= Time.now - @start_time unless pour_bottle? or ARGV.interactive? or @start_time.nil?
|
@build_time ||= Time.now - @start_time unless ARGV.interactive? or @start_time.nil?
|
||||||
end
|
end
|
||||||
|
|
||||||
def sanitized_ARGV_options
|
def sanitized_ARGV_options
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user