Add newline because JsonManipulator does not expand {}
parent
a48675005b
commit
24611ec919
|
@ -54,7 +54,7 @@ EOT
|
|||
{
|
||||
$file = Factory::getComposerFile();
|
||||
|
||||
if (!file_exists($file) && !file_put_contents($file, "{}\n")) {
|
||||
if (!file_exists($file) && !file_put_contents($file, "{\n}\n")) {
|
||||
$output->writeln('<error>'.$file.' could not be created.</error>');
|
||||
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue