diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index fc5cdfef0..bf39c1f43 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -24,12 +24,9 @@ class AbstractDownloadStrategy def initialize url, name, version, specs @url=url - case specs - when Hash + case specs when Hash @spec = specs.keys.first # only use first spec @ref = specs.values.first - else - spec = nil end @unique_token="#{name}-#{version}" unless name.to_s.empty? or name == '__UNKNOWN__' end |
