From 29713e61eb259a1e61446fde282ecbe9508f80da Mon Sep 17 00:00:00 2001 From: Camden Narzt Date: Sun, 3 Jul 2016 23:58:44 -0600 Subject: download_strategy: fix detect_from_symbol method (#446) strategy is an undefined variable--- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew') diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index d63b2e681..4ce3e3412 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -960,7 +960,7 @@ class DownloadStrategyDetector when :post then CurlPostDownloadStrategy when :fossil then FossilDownloadStrategy else - raise "Unknown download strategy #{strategy} was requested." + raise "Unknown download strategy #{symbol} was requested." end end end -- cgit v1.2.3