Browse Source

Don't hardcode the URL to an https one either

Nils Adermann 11 years ago
parent
commit
b808ff5e28
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Repository/Vcs/GitHubDriver.php

+ 1 - 1
src/Composer/Repository/Vcs/GitHubDriver.php

@@ -53,7 +53,7 @@ class GitHubDriver extends VcsDriver
         $this->cache = new Cache($this->io, $this->config->get('cache-repo-dir').'/'.$this->originUrl.'/'.$this->owner.'/'.$this->repository);
 
         if (isset($this->repoConfig['no-api']) && $this->repoConfig['no-api']) {
-            $this->setupGitDriver($this->getUrl());
+            $this->setupGitDriver($this->url);
             return;
         }