if (!$languages) {
$io->info($this->trans('commands.locale.translation.status.messages.no-languages'));
- return;
- } elseif (empty($status)) {
+ return 1;
+ }
+
+ if (empty($status)) {
$io->info($this->trans('commands.locale.translation.status.messages.no-translations'));
- return;
+ return 1;
}
+
if ($languages) {
$projectsStatus = $this->projectsStatus();
$io->table($tableHeader, $tableRows, 'compact');
}
}
+
+ return 0;
}
}