Skip to content
Snippets Groups Projects
Commit e5bc50d1 authored by Joas Schilling's avatar Joas Schilling
Browse files

Use non-zero exit code when app is not compliant (so CIs can detect the status)

parent ceb80ac1
No related branches found
No related tags found
No related merge requests found
...@@ -73,6 +73,7 @@ class CheckCode extends Command { ...@@ -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;
} }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment