download_strategy: fix detect_from_symbol method (#446)
strategy is an undefined variable
This commit is contained in:
parent
a49f3a8e91
commit
29713e61eb
@ -960,7 +960,7 @@ class DownloadStrategyDetector
|
|||||||
when :post then CurlPostDownloadStrategy
|
when :post then CurlPostDownloadStrategy
|
||||||
when :fossil then FossilDownloadStrategy
|
when :fossil then FossilDownloadStrategy
|
||||||
else
|
else
|
||||||
raise "Unknown download strategy #{strategy} was requested."
|
raise "Unknown download strategy #{symbol} was requested."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user