astyle: stops whitelisting .sh-files

pull/12783/head
Veijo Pesonen 2020-04-14 17:15:47 +03:00
parent 62e04f71c3
commit 8760a56907
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ matrix:
script:
- >-
git diff --name-only --diff-filter=d FETCH_HEAD..HEAD \
| ( grep '.\(c\|cpp\|h\|hpp\)$' || true ) \
| ( grep '.*\.\(c\|cpp\|h\|hpp\)$' || true ) \
| ( grep -v -f .astyleignore || true ) \
| while read file; do astyle -n --options=.astylerc "${file}"; done
- git diff --exit-code --diff-filter=d --color