Merge pull request #7937 from aboks/defaultrepos-auth
Fix defaultRepos fallback does not use auth configpull/7946/head
commit
27bdda1fd3
|
@ -94,6 +94,9 @@ class RepositoryFactory
|
|||
if (!$config) {
|
||||
$config = Factory::createConfig($io);
|
||||
}
|
||||
if ($io) {
|
||||
$io->loadConfiguration($config);
|
||||
}
|
||||
if (!$rm) {
|
||||
if (!$io) {
|
||||
throw new \InvalidArgumentException('This function requires either an IOInterface or a RepositoryManager');
|
||||
|
|
Loading…
Reference in New Issue