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:
Jack Nagel 2014-03-13 10:11:00 -05:00
parent 7c62275e13
commit d1e6f04651

View File

@ -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