Merge pull request #1449 from alex88/feature/git-ssh-template-source
Clone templates from ssh 'git@' urls
This commit is contained in:
commit
13a24d99ba
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ module Middleman::Cli
|
||||||
end
|
end
|
||||||
|
|
||||||
def repository_path(repo)
|
def repository_path(repo)
|
||||||
repo.include?('://') ? repo : "git://github.com/#{repo}.git"
|
repo.include?('://') || repo.include?('git@') ? repo : "git://github.com/#{repo}.git"
|
||||||
end
|
end
|
||||||
|
|
||||||
# Add to CLI
|
# Add to CLI
|
||||||
|
|
Loading…
Reference in a new issue