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.
fix/fix-watcher-config
Dennis Günnewig 2016-04-29 23:23:55 +02:00 committed by Thomas Reynolds
parent 3ebd902ec3
commit 599cf1e6d3
1 changed files with 1 additions and 1 deletions

View File

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