fix(scripts): normalise rg paths with sed instead of --path-separator

MSYS mangles the single-byte separator argument on Windows, and the swallowed
rg error made the Input check pass vacuously.

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