1
0
Fork 0

Fix Git Driver to use supported Git VCS driver URL

Otherwise the URL may not be supported since 3bb191a46 (Add support for
env vars and ~ (for HOME) in repo paths for vcs and artifact
repositories, fixes #11409 (#11453), 2023-05-07)
pull/11699/head
Tom Klingenberg 2023-10-16 18:29:27 +02:00 committed by Jordi Boggiano
parent 708b07a2fe
commit 03085c8181
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class VcsRepository extends ArrayRepository implements ConfigurableRepositoryInt
'svn' => 'Composer\Repository\Vcs\SvnDriver', 'svn' => 'Composer\Repository\Vcs\SvnDriver',
]; ];
$this->url = Platform::expandPath($repoConfig['url']); $this->url = $repoConfig['url'] = Platform::expandPath($repoConfig['url']);
$this->io = $io; $this->io = $io;
$this->type = $repoConfig['type'] ?? 'vcs'; $this->type = $repoConfig['type'] ?? 'vcs';
$this->isVerbose = $io->isVerbose(); $this->isVerbose = $io->isVerbose();