diff options
| author | Markus Reiter | 2017-08-05 23:16:44 +0200 |
|---|---|---|
| committer | GitHub | 2017-08-05 23:16:44 +0200 |
| commit | cf6a568f9842b206fcef7425aac45ffce0405a16 (patch) | |
| tree | efa462f1aaeaad62180bc3fa2fe7356997e2e0b7 /Library/Homebrew | |
| parent | 7a17a166ecd3145b501cb190d9b4cc1e6dba31ba (diff) | |
| parent | bd25c2e2199e0623288957c55c7b1175041bb121 (diff) | |
| download | brew-cf6a568f9842b206fcef7425aac45ffce0405a16.tar.bz2 | |
Merge pull request #3009 from reitermarkus/fix-cask-url-ext
Fix parsing extension from URL.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/download_strategy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/download_strategy.rb b/Library/Homebrew/cask/lib/hbc/download_strategy.rb index 28ae704ee..016bb66e6 100644 --- a/Library/Homebrew/cask/lib/hbc/download_strategy.rb +++ b/Library/Homebrew/cask/lib/hbc/download_strategy.rb @@ -185,7 +185,7 @@ module Hbc end def ext - Pathname.new(@url).extname + Pathname.new(@url).extname[/[^?]+/] end end |
