Эх сурвалжийг харах

Merge pull request #5243 from msarca/gitlab-bugfix

Gitlab driver bugfix
Rob 9 жил өмнө
parent
commit
608770856e

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

@@ -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);