Merge pull request #3009 from reitermarkus/fix-cask-url-ext
Fix parsing extension from URL.
This commit is contained in:
commit
cf6a568f98
@ -185,7 +185,7 @@ module Hbc
|
|||||||
end
|
end
|
||||||
|
|
||||||
def ext
|
def ext
|
||||||
Pathname.new(@url).extname
|
Pathname.new(@url).extname[/[^?]+/]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user