diff --git a/.ci-scripts/indent b/.ci-scripts/indent index 25ad64b28..4bf7cb07d 100755 --- a/.ci-scripts/indent +++ b/.ci-scripts/indent @@ -5,4 +5,4 @@ rm -f /tmp/indent.py wget -q https://raw.githubusercontent.com/stfc/Pan-Indenter/master/pan_indent_checker.py -O /tmp/indent.py chmod u+x /tmp/indent.py -git diff --name-only HEAD^ | grep '\.pan$' | xargs -r /tmp/indent.py check || exit 1 +git diff --name-only HEAD^ | grep '\.pan$' | xargs -rn1 /tmp/indent.py check || exit 1