From 4be0aef957aaf35a8f88eaf4921c22a25b94ca96 Mon Sep 17 00:00:00 2001 From: Nick Ortakales Date: Thu, 9 Oct 2025 10:34:31 -0700 Subject: [PATCH] Update validation to catch non-nfc files --- scripts/validate_files.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/validate_files.sh b/scripts/validate_files.sh index 5fa29a1..5a200d6 100755 --- a/scripts/validate_files.sh +++ b/scripts/validate_files.sh @@ -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