Преглед изворни кода

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.
thislooksfun пре 3 година
родитељ
комит
170e956c80
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Meta/check-ak-test-files.sh

+ 1 - 1
Meta/check-ak-test-files.sh

@@ -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