diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 3d2bed473e..0b7ac2addf 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -202,7 +202,7 @@ class VCSDownloadStrategy < AbstractDownloadStrategy if cached_location.exist? && repo_valid? puts "Updating #{cached_location}" - update(timeout: timeout) + update(timeout: end_time) elsif cached_location.exist? puts "Removing invalid repository from cache" clear_cache