Skip to content

Commit c9901ba

Browse files
author
Gravitano
committedJan 11, 2016
allow to install module from github via https
1 parent 6c2f018 commit c9901ba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎Process/Installer.php

+5
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ public function getProcess()
152152
{
153153
switch ($this->type) {
154154
case 'github':
155+
case 'github-https':
155156
case 'bitbucket':
156157
if ($this->tree) {
157158
$process = $this->installViaSubtree();
@@ -194,6 +195,10 @@ public function getRepoUrl()
194195
return "git@github.com:{$this->name}.git";
195196
break;
196197

198+
case 'github-https':
199+
return "https://github.com/{$this->name}.git";
200+
break;
201+
197202
case 'bitbucket':
198203
return "git@bitbucket.org:{$this->name}.git";
199204
break;

0 commit comments

Comments
 (0)
Please sign in to comment.