Only load configuration into IO if IO is available
parent
d1ce9f6246
commit
e151a6c51c
|
@ -93,7 +93,9 @@ class RepositoryFactory
|
|||
{
|
||||
if (!$config) {
|
||||
$config = Factory::createConfig($io);
|
||||
$io->loadConfiguration($config);
|
||||
if ($io) {
|
||||
$io->loadConfiguration($config);
|
||||
}
|
||||
}
|
||||
if (!$rm) {
|
||||
if (!$io) {
|
||||
|
|
Loading…
Reference in New Issue