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
|
@ -113,7 +113,7 @@ module Middleman::Cli
|
||||||
end
|
end
|
||||||
|
|
||||||
def repository_path(repo)
|
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
|
end
|
||||||
|
|
||||||
# Add to CLI
|
# Add to CLI
|
||||||
|
|
Loading…
Reference in a new issue