Merge pull request #5243 from msarca/gitlab-bugfix

Gitlab driver bugfix
main
Rob 8 years ago
commit 608770856e

@ -326,7 +326,7 @@ class GitLabDriver extends VcsDriver
return $this->attemptCloneFallback();
}
$this->io->writeError('<warning>Failed to download ' . $this->owner . '/' . $this->repository . ':' . $e->getMessage() . '</warning>');
$gitLabUtil->authorizeOAuthInteractively($this->originUrl, 'Your credentials are required to fetch private repository metadata (<info>'.$this->url.'</info>)');
$gitLabUtil->authorizeOAuthInteractively($this->scheme, $this->originUrl, 'Your credentials are required to fetch private repository metadata (<info>'.$this->url.'</info>)');
return parent::getContents($url);

Loading…
Cancel
Save