Skip to content

Commit

Permalink
Handle single and all apps
Browse files Browse the repository at this point in the history
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
  • Loading branch information
solracsf authored Sep 20, 2023
1 parent 7c08617 commit b5ebb3f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core/Command/App/Update.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@ protected function execute(InputInterface $input, OutputInterface $output): int
}

if (!$updateFound) {
$output->writeln('All installed apps are up-to-date or no updates could be found');
if ($singleAppId) {
$output->writeln($appId . ' is up-to-date or no updates could be found');

Check notice

Code scanning / Psalm

PossiblyUndefinedVariable Note

Possibly undefined variable $appId, first seen on line 98
} else {
$output->writeln('All apps are up-to-date or no updates could be found');
}
}

return $return;
Expand Down

0 comments on commit b5ebb3f

Please sign in to comment.