From 79484643a2b26f98abf6cfa3652e7452fd959ba6 Mon Sep 17 00:00:00 2001 From: Olivier Date: Tue, 6 Oct 2026 19:35:12 +0200 Subject: [PATCH] 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 --- scripts/check_architecture.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_architecture.sh b/scripts/check_architecture.sh index 6f2c38d..d9ceca7 100755 --- a/scripts/check_architecture.sh +++ b/scripts/check_architecture.sh @@ -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 )"