diff --git a/src/Console/Command/SelfUpdateCommand.php b/src/Console/Command/SelfUpdateCommand.php index 6d9d7309..bf77f451 100644 --- a/src/Console/Command/SelfUpdateCommand.php +++ b/src/Console/Command/SelfUpdateCommand.php @@ -139,7 +139,7 @@ private function update(Updater $updater) $newVersion = $this->updater->getNewVersion(); $oldVersion = $this->updater->getOldVersion(); - + if ($result) { $this->logger->updateSuccess($newVersion, $oldVersion); } else { diff --git a/src/Logger/UpdateConsoleLogger.php b/src/Logger/UpdateConsoleLogger.php index 63eb0723..40b02c13 100644 --- a/src/Logger/UpdateConsoleLogger.php +++ b/src/Logger/UpdateConsoleLogger.php @@ -64,7 +64,7 @@ public function updateNotNeeded(string $oldVersion) $oldVersion )); } - + public function error(\Exception $e) { $this->io->writeln(