Browse Source

Fix app code checker to ignore `build` directory

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
tags/v14.0.0beta3
Christoph Wurst 5 years ago
parent
commit
201cbf2d33
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/private/App/CodeChecker/CodeChecker.php

+ 1
- 1
lib/private/App/CodeChecker/CodeChecker.php 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';
}

Loading…
Cancel
Save