Meta: Remove unnecessary -i

Using `xargs -i <cmd> {}` is just doing the default behavior of xargs,
but with extra steps that also don't work on macOS.
This commit is contained in:
thislooksfun 2021-10-26 13:11:24 -05:00 committed by Andreas Kling
parent c2d44209a8
commit 170e956c80
Notes: sideshowbarker 2024-07-18 01:37:04 +09:00

View File

@ -14,7 +14,7 @@ while IFS= read -r FILENAME; do
MISSING_FILES=y
fi
done < <(
git ls-files 'Tests/AK/Test*.cpp' | xargs -i basename {}
git ls-files 'Tests/AK/Test*.cpp' | xargs basename
)
if [ "n" != "${MISSING_FILES}" ] ; then