From 41c86a408e3ddbfd77e00d2a727b87ab326fe906 Mon Sep 17 00:00:00 2001 From: Olivier Date: Tue, 6 Oct 2026 19:37:56 +0200 Subject: [PATCH] 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 --- scripts/check_architecture.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/check_architecture.sh b/scripts/check_architecture.sh index d9ceca7..483785f 100755 --- a/scripts/check_architecture.sh +++ b/scripts/check_architecture.sh @@ -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 )"