Permalink
Browse files

Thor file location now supports https uri

  • Loading branch information...
1 parent 86eca8e commit fff110f2790bbcf1a879c895c040621b876badb1 @martinos martinos committed May 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/thor/runner.rb
View
@@ -73,7 +73,7 @@ def install(name)
as = basename if as.empty?
end
- location = if options[:relative] || name =~ /^http:\/\//
+ location = if options[:relative] || name =~ /^https?:\/\//
name
else
File.expand_path(name)

0 comments on commit fff110f

Please sign in to comment.