diff --git a/json_to_md.py b/json_to_md.py index 1800a574d..6dd0c3cca 100644 --- a/json_to_md.py +++ b/json_to_md.py @@ -259,7 +259,7 @@ def run_pytest_and_generate_banner_with_logs(md_path, log_path): with open(md_path, "r") as f: original_md = f.read() except Exception as e: - print(f"❌ Could not read markdown report: {e}") + #print(f"❌ Could not read markdown report: {e}") return full_banner = ( @@ -276,7 +276,8 @@ def run_pytest_and_generate_banner_with_logs(md_path, log_path): f.write(full_banner + original_md) print("✅ Banner and log summary added to markdown report.") except Exception as e: - print(f"❌ Failed to update markdown report: {e}") + #print(f"❌ Failed to update markdown report: {e}") + return def main(): parser = argparse.ArgumentParser(description="Convert JSON test results to Markdown.")