mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
Add newline because JsonManipulator does not expand {}
This commit is contained in:
parent
a48675005b
commit
24611ec919
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue