Skip to content

Commit 26988b0

Browse files
committed
avoid loop space
1 parent 652050e commit 26988b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/OpenVersionsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
111111

112112
if ($isDryRun === false) {
113113
// update composer.json file, only if no --dry-run
114-
FileSystem::write($composerJsonFilePath, $changedComposerJson . PHP_EOL, null);
114+
FileSystem::write($composerJsonFilePath, rtrim($changedComposerJson) . PHP_EOL, null);
115115
}
116116

117117
$symfonyStyle->success(

0 commit comments

Comments
 (0)