Skip to content

Commit

Permalink
chore(dev): ensure newline in repo-metadata-full.json (#7375)
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer authored Jun 7, 2024
1 parent 6d25d0d commit 73a9ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/src/Command/AddComponentCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
ksort($repoMetadataFull);
file_put_contents(
$repoMetadataFullPath,
json_encode($repoMetadataFull, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)
json_encode($repoMetadataFull, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . PHP_EOL
);

// Write composer file
Expand Down

0 comments on commit 73a9ae9

Please sign in to comment.