Don't hardcode the URL to an https one either

main
Nils Adermann 10 years ago
parent edfaf727e5
commit b808ff5e28

@ -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); $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']) { if (isset($this->repoConfig['no-api']) && $this->repoConfig['no-api']) {
$this->setupGitDriver($this->getUrl()); $this->setupGitDriver($this->url);
return; return;
} }

Loading…
Cancel
Save