From 88e3e8b70dfa77e7928baef36402c6656219679b Mon Sep 17 00:00:00 2001 From: James Adams Date: Thu, 12 Sep 2024 10:33:34 +0100 Subject: [PATCH] ci-scripts: Indent checker only accepts a single file --- .ci-scripts/indent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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