Clone templates from ssh 'git@' urls
This commit is contained in:
parent
5cb880064d
commit
bf9f94989d
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…
Add table
Reference in a new issue