Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-05-13 12:43:11 +0300
committerMorris Jobke <hey@morrisjobke.de>2020-05-13 13:52:52 +0300
commit8614abaa5bce495b47ecf1ff0216d62c136401e1 (patch)
tree6aa2703e114114a9fd1b83ca2f38f74a9fc52e1a /composer.json
parentc6da7ec24cc913af152b4df35a52888f92a4635a (diff)
Respect exit code of lint run - changed from -exec to xargs as this exits properly
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/composer.json b/composer.json
index 937df706202..fb6cd010889 100644
--- a/composer.json
+++ b/composer.json
@@ -22,6 +22,6 @@
"scripts": {
"cs:fix": "php-cs-fixer fix",
"cs:check": "php-cs-fixer fix --dry-run --diff",
- "lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/.phan/*' -exec php -l \"{}\" \\;"
+ "lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/.phan/*' -print0 | xargs -0 -n1 php -l"
}
}