Display notice for already enabled apps
Signed-off-by: Sander Ruitenbeek <s.ruitenbeek@getgoing.nl> Signed-off-by: Sander Ruitenbeek <s.ruitenbeek@getgoing.nl>
This commit is contained in:
parent
3d9cd00c7b
commit
6b62bef928
|
@ -105,6 +105,10 @@ class Enable extends Command implements CompletionAwareInterface {
|
|||
return $group->getDisplayName();
|
||||
}, $groupIds);
|
||||
|
||||
if ($this->appManager->isInstalled($appId) && $groupIds === []) {
|
||||
$output->writeln($appId . ' already enabled');
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
/** @var Installer $installer */
|
||||
|
|
Loading…
Reference in New Issue