Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add version of disabled apps when available
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen authored and backportbot[bot] committed Jan 14, 2022
commit 8263209ffad057a86f015d186ede022e7596a4bb
4 changes: 2 additions & 2 deletions core/Command/App/ListApps.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ protected function execute(InputInterface $input, OutputInterface $output): int

sort($enabledApps);
foreach ($enabledApps as $app) {
$apps['enabled'][$app] = isset($versions[$app]) ? $versions[$app] : true;
$apps['enabled'][$app] = $versions[$app] ?? true;
}

sort($disabledApps);
foreach ($disabledApps as $app) {
$apps['disabled'][$app] = null;
$apps['disabled'][$app] = $versions[$app] ?? null;
}

$this->writeAppList($input, $output, $apps);
Expand Down