mirror of
https://github.com/composer/composer
synced 2025-05-11 09:32:55 +00:00
Adding ssh protocol support to github-protocols.
This commit is contained in:
parent
7343198817
commit
ac78eaa027
3 changed files with 11 additions and 6 deletions
|
@ -294,8 +294,8 @@ EOT
|
|||
}
|
||||
|
||||
foreach ($vals as $val) {
|
||||
if (!in_array($val, array('git', 'https'))) {
|
||||
return 'valid protocols include: git, https';
|
||||
if (!in_array($val, array('git', 'https', 'ssh'))) {
|
||||
return 'valid protocols include: git, https, ssh';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue