Procházet zdrojové kódy

Normalize github URLs generated by the GitHubDriver, fixes #1551

Jordi Boggiano před 12 roky
rodič
revize
17a5bdf162
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/Composer/Repository/Vcs/GitHubDriver.php

+ 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';
     }
 
     /**