在前后端开发联调前 的提交20260223
This commit is contained in:
@@ -845,7 +845,10 @@ def main():
|
||||
md_content = generate_report(report, coupling)
|
||||
|
||||
# 确定输出路径
|
||||
reports_dir = root / "docs" / "reports"
|
||||
_report_root = os.environ.get("ETL_REPORT_ROOT")
|
||||
if not _report_root:
|
||||
raise KeyError("环境变量 ETL_REPORT_ROOT 未定义。请在根 .env 中配置。")
|
||||
reports_dir = Path(_report_root)
|
||||
reports_dir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
if args.output:
|
||||
|
||||
Reference in New Issue
Block a user