Skip to content

Commit

Permalink
Thor file location now supports https uri
Browse files Browse the repository at this point in the history
  • Loading branch information
martinos authored and rleber committed Jul 3, 2011
1 parent bc89861 commit 7d41cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/thor/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7d41cfa

Please sign in to comment.