Use non-zero exit code
This commit is contained in:
parent
eb1c437941
commit
9e469046fa
1 changed files with 2 additions and 1 deletions
|
@ -87,9 +87,10 @@ class CheckCode extends Command {
|
|||
$output->writeln('<info>App is compliant - awesome job!</info>');
|
||||
} elseif ($input->getOption('deprecated')) {
|
||||
$output->writeln('<comment>App uses deprecated functionality</comment>');
|
||||
return 102;
|
||||
} else {
|
||||
$output->writeln('<error>App is not compliant</error>');
|
||||
return 1;
|
||||
return 101;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue