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:
Dennis Günnewig 2016-04-29 23:23:55 +02:00 committed by Thomas Reynolds
parent 3ebd902ec3
commit 599cf1e6d3

View file

@ -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