From b808ff5e28944ab2e25e050f8df848c5842bc14c Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Tue, 25 Feb 2014 15:57:35 +0100 Subject: [PATCH] Don't hardcode the URL to an https one either --- src/Composer/Repository/Vcs/GitHubDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Repository/Vcs/GitHubDriver.php b/src/Composer/Repository/Vcs/GitHubDriver.php index c99c8cf18..38c7869a5 100644 --- a/src/Composer/Repository/Vcs/GitHubDriver.php +++ b/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; }