From 57d25f3f875d6463a6dabba974bbc3f96878829e Mon Sep 17 00:00:00 2001 From: Arne Blankerts Date: Thu, 22 Aug 2024 23:20:13 +0200 Subject: [PATCH] Fix formatting --- src/commands/install/InstallCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/install/InstallCommand.php b/src/commands/install/InstallCommand.php index 2f8daf54..379b7303 100644 --- a/src/commands/install/InstallCommand.php +++ b/src/commands/install/InstallCommand.php @@ -42,6 +42,7 @@ public function execute(): void { $targetDirectory = $this->getConfig()->getTargetDirectory(); $todo = $this->getConfig()->getRequestedPhars(); + if (count($todo) === 0) { throw new InstallationFailedException('No phars to install'); }