Update validation to catch non-nfc files

This commit is contained in:
Nick Ortakales 2025-10-09 10:34:31 -07:00
parent bbe3595839
commit 4be0aef957

View file

@ -74,7 +74,12 @@ while read -r filename; do
ERROR_FOUND=1
fi
done < <(find . -type f -name "*.nfc")
done < <(find . -type f \
-not -path './scripts/*' \
-not -path './.github/*' \
-not -path './.git/*' \
-not -path './.gitignore' \
-not -path './README.md' \
-not -path './*/README.md')
exit $ERROR_FOUND