Explorar o código

Don't hardcode the URL to an https one either

Nils Adermann %!s(int64=11) %!d(string=hai) anos
pai
achega
b808ff5e28
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
         }