From d1e6f04651ea87654d13c6a786e57581eb22ec15 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 13 Mar 2014 10:11:00 -0500 Subject: [PATCH] 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?. --- Library/Homebrew/formula_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 8282cda73c..e4a05cf17b 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -407,7 +407,7 @@ class FormulaInstaller end 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 def sanitized_ARGV_options