Update json_to_md.py
This commit is contained in:
+3
-2
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user