aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorCamden Narzt2016-07-03 23:58:44 -0600
committerMike McQuaid2016-07-04 01:58:44 -0400
commit29713e61eb259a1e61446fde282ecbe9508f80da (patch)
tree7181e7368323ba964e9e9f987635b8f7fa8897cd /Library
parenta49f3a8e91df8ccbbd7335deab1853ce395c5be4 (diff)
downloadbrew-29713e61eb259a1e61446fde282ecbe9508f80da.tar.bz2
download_strategy: fix detect_from_symbol method (#446)
strategy is an undefined variable
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
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