From 5b2b4cbc939aa5ce267525cda135944c8698e024 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Tue, 22 Jul 2025 14:32:32 +0200 Subject: [PATCH] Update json_to_md.py --- json_to_md.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/json_to_md.py b/json_to_md.py index fd349a6..793f701 100644 --- a/json_to_md.py +++ b/json_to_md.py @@ -354,10 +354,11 @@ def run_pytest_and_generate_banner_with_logs(md_path, log_path, exit_code): "---\n\n" ) + separator = "\n---\n\n" + try: with open(md_path, "w") as f: - #f.write(full_banner + original_md) - f.write(original_md) + f.write(full_banner + separator + original_md) print("✅ Banner and log summary added to markdown report.") except Exception as e: print(f"❌ Failed to update markdown report: {e}")