diff options
| author | Camden Narzt | 2016-07-03 23:58:44 -0600 |
|---|---|---|
| committer | Mike McQuaid | 2016-07-04 01:58:44 -0400 |
| commit | 29713e61eb259a1e61446fde282ecbe9508f80da (patch) | |
| tree | 7181e7368323ba964e9e9f987635b8f7fa8897cd /Library/Homebrew | |
| parent | a49f3a8e91df8ccbbd7335deab1853ce395c5be4 (diff) | |
| download | brew-29713e61eb259a1e61446fde282ecbe9508f80da.tar.bz2 | |
download_strategy: fix detect_from_symbol method (#446)
strategy is an undefined variable
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 |
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 |
