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:
1 parent
bd1d75fec2
commit
79484643a2
1 file changed
+1
-1
@@ -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
|
||||
)"
|
||||
|
||||
Reference in new issue
Block a user