1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Merge pull request #6381 from deeky666/pass-vsc-driver-options

Forward GitLab driver options to remote filesystem
This commit is contained in:
Jordi Boggiano 2017-05-16 23:36:30 +02:00 committed by GitHub
commit ce56fc4ab6
2 changed files with 47 additions and 6 deletions

View file

@ -160,7 +160,9 @@ abstract class VcsDriver implements VcsDriverInterface
*/
protected function getContents($url)
{
return $this->remoteFilesystem->getContents($this->originUrl, $url, false);
$options = isset($this->repoConfig['options']) ? $this->repoConfig['options'] : array();
return $this->remoteFilesystem->getContents($this->originUrl, $url, false, $options);
}
/**