Use non-zero exit code

remotes/origin/handlebars-approach
Joas Schilling 11 years ago
parent eb1c437941
commit 9e469046fa
  1. 3
      core/command/app/checkcode.php

@ -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…
Cancel
Save