Merge pull request #17131 from owncloud/non-zero-exit-code-when-app-is-not-compliant

Use non-zero exit code when app is not compliant (so CIs can detect t…
This commit is contained in:
Thomas Müller 2015-06-24 12:06:04 +02:00
commit 9e93d1ed25
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ class CheckCode extends Command {
$output->writeln('<info>App is compliant - awesome job!</info>'); $output->writeln('<info>App is compliant - awesome job!</info>');
} else { } else {
$output->writeln('<error>App is not compliant</error>'); $output->writeln('<error>App is not compliant</error>');
return 1;
} }
} }
} }