Prechádzať zdrojové kódy

Normalize github URLs generated by the GitHubDriver, fixes #1551

Jordi Boggiano 12 rokov pred
rodič
commit
17a5bdf162

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

@@ -76,7 +76,7 @@ class GitHubDriver extends VcsDriver
             return $this->gitDriver->getUrl();
         }
 
-        return $this->url;
+        return 'https://github.com/'.$this->owner.'/'.$this->repository.'.git';
     }
 
     /**