Merge pull request #10599 from nextcloud/fix/app-code-checker-ignore-build-dir

Fix app code checker to ignore `build` directory
This commit is contained in:
Roeland Jago Douma 2018-08-09 08:50:31 +02:00 committed by GitHub
commit b4e282e477
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,7 @@ class CodeChecker extends BasicEmitter {
public function analyseFolder(string $appId, string $folder): array {
$errors = [];
$excludedDirectories = ['vendor', '3rdparty', '.git', 'l10n', 'tests', 'test'];
$excludedDirectories = ['vendor', '3rdparty', '.git', 'l10n', 'tests', 'test', 'build'];
if ($appId === 'password_policy') {
$excludedDirectories[] = 'lists';
}