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
parent
708b07a2fe
commit
03085c8181
|
@ -91,7 +91,7 @@ class VcsRepository extends ArrayRepository implements ConfigurableRepositoryInt
|
|||
'svn' => 'Composer\Repository\Vcs\SvnDriver',
|
||||
];
|
||||
|
||||
$this->url = Platform::expandPath($repoConfig['url']);
|
||||
$this->url = $repoConfig['url'] = Platform::expandPath($repoConfig['url']);
|
||||
$this->io = $io;
|
||||
$this->type = $repoConfig['type'] ?? 'vcs';
|
||||
$this->isVerbose = $io->isVerbose();
|
||||
|
|
Loading…
Reference in New Issue