forked from Archive/PX4-Autopilot
check_code_style_all.sh: remove ignored xargs parameter
to suppress the warning message: `xargs: warning: options --max-args and --replace/-I/-i are mutually exclusive, ignoring previous --max-args value` when running make format.
This commit is contained in:
parent
6df299738e
commit
5416679735
|
@ -59,7 +59,7 @@ if [ ! -f $HOOK_FILE ] && [ "$CI" != "true" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${DIR}/files_to_check_code_style.sh | xargs -n 1 -P 8 -I % ${DIR}/check_code_style.sh %
|
${DIR}/files_to_check_code_style.sh | xargs -P 8 -I % ${DIR}/check_code_style.sh %
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "Format checks passed"
|
echo "Format checks passed"
|
||||||
|
|
Loading…
Reference in New Issue