summaryrefslogtreecommitdiffstats
path: root/lib/private/App
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-08-09 06:44:52 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-08-09 06:44:52 +0200
commit201cbf2d33975d60c15c6a184033b9f79172d85e (patch)
tree558cd341361e1fb3af120df038cd2829891eab1b /lib/private/App
parent7648bb05e9ea179726aec032ab0ca98afd3d36d6 (diff)
downloadnextcloud-server-201cbf2d33975d60c15c6a184033b9f79172d85e.tar.gz
nextcloud-server-201cbf2d33975d60c15c6a184033b9f79172d85e.zip
Fix app code checker to ignore `build` directory
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/App')
-rw-r--r--lib/private/App/CodeChecker/CodeChecker.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/App/CodeChecker/CodeChecker.php b/lib/private/App/CodeChecker/CodeChecker.php
index 456a78aa122..d2f6d7451b4 100644
--- a/lib/private/App/CodeChecker/CodeChecker.php
+++ b/lib/private/App/CodeChecker/CodeChecker.php
@@ -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';
}