fix(m0.6-r4): accept project package instances in the consumer fixture

This commit is contained in:
cflmy committed 2026-11-20 11:53:20 +08:00
1 parent c779f6c24e
commit 0adebe42f1
1 file changed
+1 -1
+1 -1
View File
@@ -16,7 +16,7 @@ if analysis.get("schema_version") != 1:
functions = []
for module in analysis["modules"]:
if not module["id"].startswith("root:default::"):
if not module["id"].startswith("root:"):
raise SystemExit("unexpected module identity")
if not isinstance(module["source_digest"], str) or len(module["source_digest"]) != 64:
raise SystemExit("bad source digest")