Also load transport options in filesystem repositories to avoid loss from the installed repo, refs #2189
parent
faeb706de6
commit
e707dcd92f
|
@ -57,7 +57,7 @@ class FilesystemRepository extends WritableArrayRepository
|
||||||
throw new InvalidRepositoryException('Invalid repository data in '.$this->file->getPath().', packages could not be loaded: ['.get_class($e).'] '.$e->getMessage());
|
throw new InvalidRepositoryException('Invalid repository data in '.$this->file->getPath().', packages could not be loaded: ['.get_class($e).'] '.$e->getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
$loader = new ArrayLoader();
|
$loader = new ArrayLoader(null, true);
|
||||||
foreach ($packages as $packageData) {
|
foreach ($packages as $packageData) {
|
||||||
$package = $loader->load($packageData);
|
$package = $loader->load($packageData);
|
||||||
$this->addPackage($package);
|
$this->addPackage($package);
|
||||||
|
|
Loading…
Reference in New Issue