diff --git a/src/UpdaterCommand.php b/src/UpdaterCommand.php index 86b40c5..9320a13 100644 --- a/src/UpdaterCommand.php +++ b/src/UpdaterCommand.php @@ -398,9 +398,11 @@ protected function updatePackage(string $package) { } - $this->output->writeln("\nUpdated packages:"); $updated_packages = trim($this->runCommand('composer-lock-diff')->getOutput()); - $this->output->writeln($updated_packages . "\n"); + if (!empty($updated_packages)) { + $this->output->writeln("Updated packages:"); + $this->output->writeln($updated_packages); + } $commit_message = $this->calculateModuleUpdateCommitMessage($package);