From 73a9ae90519aa648d1ef23c797a30d235282f44e Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Fri, 7 Jun 2024 11:34:14 -0700 Subject: [PATCH] chore(dev): ensure newline in repo-metadata-full.json (#7375) --- dev/src/Command/AddComponentCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/src/Command/AddComponentCommand.php b/dev/src/Command/AddComponentCommand.php index f6cb24fe85b3..98dd8cdb941a 100644 --- a/dev/src/Command/AddComponentCommand.php +++ b/dev/src/Command/AddComponentCommand.php @@ -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