fix(m0.6-r4): accept project package instances in the consumer fixture
This commit is contained in:
1 parent
c779f6c24e
commit
0adebe42f1
1 file changed
+1
-1
@@ -16,7 +16,7 @@ if analysis.get("schema_version") != 1:
|
|||||||
|
|
||||||
functions = []
|
functions = []
|
||||||
for module in analysis["modules"]:
|
for module in analysis["modules"]:
|
||||||
if not module["id"].startswith("root:default::"):
|
if not module["id"].startswith("root:"):
|
||||||
raise SystemExit("unexpected module identity")
|
raise SystemExit("unexpected module identity")
|
||||||
if not isinstance(module["source_digest"], str) or len(module["source_digest"]) != 64:
|
if not isinstance(module["source_digest"], str) or len(module["source_digest"]) != 64:
|
||||||
raise SystemExit("bad source digest")
|
raise SystemExit("bad source digest")
|
||||||
|
|||||||
Reference in new issue
Block a user