From 5354a0ac15feae108613ce425bea3fb2db2484e7 Mon Sep 17 00:00:00 2001 From: Anish Singh Rawat Date: Fri, 19 Jul 2024 12:42:52 +0530 Subject: [PATCH] Removed RESULTS text from error --- src/tirith/prettyprinter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tirith/prettyprinter.py b/src/tirith/prettyprinter.py index ee5aed4..1ed4646 100644 --- a/src/tirith/prettyprinter.py +++ b/src/tirith/prettyprinter.py @@ -96,7 +96,7 @@ def pretty_print_result_dict(final_result_dict: Dict) -> None: print(TermStyle.fail(f"Check: {check_id}")) print(f" {TermStyle.fail('FAILED')}") num_failed_checks += 1 - print(" Results:") + for result_num, result_dict in enumerate(check_dict["result"]): result_message = result_dict["message"]