Merge pull request #1449 from alex88/feature/git-ssh-template-source

Clone templates from ssh 'git@' urls
This commit is contained in:
Thomas Reynolds 2015-02-13 09:25:06 -08:00
commit 13a24d99ba

View file

@ -84,7 +84,7 @@ module Middleman::Cli
end
def repository_path(repo)
repo.include?('://') ? repo : "git://github.com/#{repo}.git"
repo.include?('://') || repo.include?('git@') ? repo : "git://github.com/#{repo}.git"
end
# Add to CLI