diff --git a/scripts/check_format.sh b/scripts/check_format.sh index 7a332da81..4d65525d8 100755 --- a/scripts/check_format.sh +++ b/scripts/check_format.sh @@ -127,11 +127,9 @@ function check_c_style() { rm -f astyle.log touch astyle.log git ls-files '*.[ch]' \ - | grep -v cpp_headers \ | xargs -P$(nproc) -n10 astyle --break-return-type --attach-return-type-decl \ --options=.astylerc >> astyle.log git ls-files '*.cpp' '*.cc' '*.cxx' '*.hh' '*.hpp' \ - | grep -v cpp_headers \ | xargs -P$(nproc) -n10 astyle --options=.astylerc >> astyle.log if grep -q "^Formatted" astyle.log; then echo " errors detected"