aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-13 10:11:00 -0500
committerJack Nagel2014-03-13 15:59:53 -0500
commitb214d23e1b20e44cbee6c1ce6f306f586accb7aa (patch)
tree73b7c5b4710ade59d61a545c8b4966976cb90a45 /Library
parent88f799a8f7ad06fac7c2a0ace71ddf4368e8c4ef (diff)
downloadhomebrew-b214d23e1b20e44cbee6c1ce6f306f586accb7aa.tar.bz2
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?.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 8282cda73..e4a05cf17 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