接口开始5%
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"""Verify generated assets declared in a manifest v2 file."""
|
||||
"""校验 schema v3 生成型资产,并写出不含机器绝对路径的确定性报告。"""
|
||||
|
||||
import argparse
|
||||
import json
|
||||
@@ -23,13 +23,13 @@ def main() -> None:
|
||||
if not output.is_file():
|
||||
report = {
|
||||
"id": asset["id"],
|
||||
"path": str(output),
|
||||
"path": Path(asset["output"]).as_posix(),
|
||||
"errors": ["output file is missing"],
|
||||
"warnings": [],
|
||||
"metrics": {},
|
||||
}
|
||||
else:
|
||||
report = analyze_asset(output, asset)
|
||||
report = analyze_asset(output, asset, args.workspace)
|
||||
reports.append(report)
|
||||
if report["errors"]:
|
||||
failed = True
|
||||
|
||||
Reference in New Issue
Block a user