Эх сурвалжийг харах

Also load config into IO if not freshly created

Arnout Boks 6 жил өмнө
parent
commit
82b010782d

+ 3 - 3
src/Composer/Repository/RepositoryFactory.php

@@ -93,9 +93,9 @@ class RepositoryFactory
     {
         if (!$config) {
             $config = Factory::createConfig($io);
-            if ($io) {
-                $io->loadConfiguration($config);
-            }
+        }
+        if ($io) {
+            $io->loadConfiguration($config);
         }
         if (!$rm) {
             if (!$io) {