Use https:// to clone templates (#1901)
Using git://-protocol for cloning git repositories does not work via HTTP proxies. By replacing it with https:// instead it works for more users.
This commit is contained in:
parent
3ebd902ec3
commit
599cf1e6d3
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ module Middleman::Cli
|
|||
end
|
||||
|
||||
def repository_path(repo)
|
||||
repo.include?('://') || repo.include?('git@') ? repo : "git://github.com/#{repo}.git"
|
||||
repo.include?('://') || repo.include?('git@') ? repo : "https://github.com/#{repo}.git"
|
||||
end
|
||||
|
||||
# Add to CLI
|
||||
|
|
Loading…
Reference in a new issue