diff options
| author | Jack Nagel | 2014-03-13 10:11:00 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-13 15:59:53 -0500 |
| commit | d1e6f04651ea87654d13c6a786e57581eb22ec15 (patch) | |
| tree | 8189bf52283e2752261dd0d6de1c1aa0f4664eb4 /Library | |
| parent | 7c62275e1394eacc22b0abe8073a35d610d9fd1e (diff) | |
| download | brew-d1e6f04651ea87654d13c6a786e57581eb22ec15.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.rb | 2 |
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 |
