Skip to content

Commit

Permalink
Change to correct syntax for calling a class method (how did this eve…
Browse files Browse the repository at this point in the history
…r work?!) (derp)
  • Loading branch information
mbishop-fiksu committed Nov 11, 2014
1 parent fcbf0ac commit 116bbbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cocoapods-downloader/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def should_flatten?
end

def type_with_url(url)
path = URI::parse(url).path
path = URI.parse(url).path
if path =~ /.zip$/
:zip
elsif path =~ /.(tgz|tar\.gz)$/
Expand Down

0 comments on commit 116bbbc

Please sign in to comment.