fix(scripts): make the Input access check path-separator agnostic

ripgrep prints backslash paths on Windows, so the infrastructure/input
exclusion never matched and the architecture check failed on a clean tree.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
OlivierandClaude Fable 5.1 committed 2026-10-06 19:35:12 +02:00
1 parent bd1d75fec2
commit 79484643a2
1 file changed
+1 -1
+1 -1
View File
@@ -107,7 +107,7 @@ if [ -d game ]; then
fi
input_violations="$(
rg -n '\bInput\.' game --glob '*.gd' \
rg -n --path-separator / '\bInput\.' game --glob '*.gd' \
| rg -v '^game/infrastructure/input/' \
|| true
)"