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:
commit
9e93d1ed25
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue