Explorar o código

Merge branch '1.0'

Jordi Boggiano %!s(int64=9) %!d(string=hai) anos
pai
achega
fc33e0835e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Composer/Command/InitCommand.php

+ 1 - 1
src/Composer/Command/InitCommand.php

@@ -115,7 +115,7 @@ EOT
             }
         }
 
-        $file = new JsonFile('composer.json');
+        $file = new JsonFile(Factory::getComposerFile());
         $json = $file->encode($options);
 
         if ($input->isInteractive()) {