Update json_to_md.py

This commit is contained in:
2025-07-22 14:32:32 +02:00
parent d8da6e0ae9
commit 5b2b4cbc93
+3 -2
View File
@@ -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}")