1
0
Fork 0

Fix var name

pull/1862/merge
Jordi Boggiano 2014-05-23 18:55:44 +02:00
parent 3ebc869060
commit 1ce419cc43
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class Git
if (!$initialClone) {
// capture username/password from URL if there is one
$this->process->execute('git remote -v', $output, $path);
$this->process->execute('git remote -v', $output, $cwd);
if (preg_match('{^(?:composer|origin)\s+https?://(.+):(.+)@([^/]+)}im', $output, $match)) {
$this->io->setAuthentication($match[3], urldecode($match[1]), urldecode($match[2]));
}