From ee06f6f44b6466f02f68b50fa6c8c2a91442b2cd Mon Sep 17 00:00:00 2001 From: Charlie Collett Date: Fri, 30 Aug 2024 12:58:59 -0700 Subject: [PATCH] Fix the grep --- summary.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/summary.py b/summary.py index 77180c6..81251f6 100644 --- a/summary.py +++ b/summary.py @@ -142,10 +142,7 @@ def generate_simplified_summary_report(summary): if details.get('python_version'): report_lines.append(f"LANGUAGE VERSION: {details['python_version']}") - if details['status'] != "success": - report_lines.append("Issues Found: Yes") - else: - report_lines.append("Issues Found: No") + report_lines.append(f"Issues Found: {'Yes' if details['issues_found'] else 'No'}") report_lines.append("\n" + "-"*40 + "\n")