projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Yaffs site version 1.1
[yaffs-website]
/
vendor
/
drupal
/
console
/
src
/
Command
/
Locale
/
TranslationStatusCommand.php
diff --git
a/vendor/drupal/console/src/Command/Locale/TranslationStatusCommand.php
b/vendor/drupal/console/src/Command/Locale/TranslationStatusCommand.php
index 2d92e833dd32b51d5a0a7b8c7ecd8a1ab7299f51..95ed676fd8bd75043fe2d546768d310bbe31f2dd 100644
(file)
--- a/
vendor/drupal/console/src/Command/Locale/TranslationStatusCommand.php
+++ b/
vendor/drupal/console/src/Command/Locale/TranslationStatusCommand.php
@@
-86,11
+86,14
@@
class TranslationStatusCommand extends Command
if (!$languages) {
$io->info($this->trans('commands.locale.translation.status.messages.no-languages'));
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'));
$io->info($this->trans('commands.locale.translation.status.messages.no-translations'));
- return;
+ return
1
;
}
}
+
if ($languages) {
$projectsStatus = $this->projectsStatus();
if ($languages) {
$projectsStatus = $this->projectsStatus();
@@
-109,5
+112,7
@@
class TranslationStatusCommand extends Command
$io->table($tableHeader, $tableRows, 'compact');
}
}
$io->table($tableHeader, $tableRows, 'compact');
}
}
+
+ return 0;
}
}
}
}