Skip to content

Commit

Permalink
allow to install module from github via https
Browse files Browse the repository at this point in the history
  • Loading branch information
Gravitano committed Jan 11, 2016
1 parent 6c2f018 commit c9901ba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Process/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ public function getProcess()
{
switch ($this->type) {
case 'github':
case 'github-https':
case 'bitbucket':
if ($this->tree) {
$process = $this->installViaSubtree();
Expand Down Expand Up @@ -194,6 +195,10 @@ public function getRepoUrl()
return "[email protected]:{$this->name}.git";
break;

case 'github-https':
return "https://github.com/{$this->name}.git";
break;

case 'bitbucket':
return "[email protected]:{$this->name}.git";
break;
Expand Down

0 comments on commit c9901ba

Please sign in to comment.