download_strategy: fix detect_from_symbol method (#446)

strategy is an undefined variable
This commit is contained in:
Camden Narzt 2016-07-03 23:58:44 -06:00 committed by Mike McQuaid
parent a49f3a8e91
commit 29713e61eb

View File

@ -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