Skip to content

Commit

Permalink
Merge pull request #198 from nextcloud/fix/noid/composer-lint-command…
Browse files Browse the repository at this point in the history
…-exit-code

Use proper exit code for composer lint
  • Loading branch information
rullzer authored May 14, 2020
2 parents d6a176a + dda3022 commit 73e9e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"classmap-authoritative": true
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -exec php -l \"{}\" \\;"
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l"
}
}

0 comments on commit 73e9e13

Please sign in to comment.