fix(verify): 7a loader stem regex allows digits (gp2_loader)
This commit is contained in:
1 parent
53287ac122
commit
1e4598aa76
1 file changed
+1
-1
@@ -92,7 +92,7 @@ CRATE_DIR="$CRATE"
|
||||
if [ "$LANG_" = "rust" ]; then
|
||||
# 7a: loader exists — discovered from the facade's own import (loader
|
||||
# naming uses abbreviated stems: subsystem_health -> sh_loader).
|
||||
LOADER_REF=$(grep -oE "[a-z]+_loader" "$FACADE" 2>/dev/null | head -1)
|
||||
LOADER_REF=$(grep -oE "[a-z0-9]+_loader" "$FACADE" 2>/dev/null | head -1)
|
||||
if [ -n "$LOADER_REF" ] && [ -f "src/rune/${LOADER_REF}.py" ]; then
|
||||
check "PASS" "7a loader exists: src/rune/${LOADER_REF}.py (per facade import)"
|
||||
elif [ -f "$FACADE" ] && ! grep -qE "import.*_loader|from.*_loader" "$FACADE"; then
|
||||
|
||||
Reference in new issue
Block a user