aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_support.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/formula_support.rb')
-rw-r--r--Library/Homebrew/formula_support.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb
index 1bf3fbc58..f72358d4d 100644
--- a/Library/Homebrew/formula_support.rb
+++ b/Library/Homebrew/formula_support.rb
@@ -12,7 +12,7 @@ class SoftwareSpec
end
def download_strategy
- @download_strategy ||= DownloadStrategyDetector.new(@url, @using).detect
+ @download_strategy ||= DownloadStrategyDetector.detect(@url, @using)
end
def verify_download_integrity fn