From 21b2b0b8ceb394ca57a5e621c499f46dcbb18acc Mon Sep 17 00:00:00 2001 From: salman2013 Date: Mon, 2 Dec 2024 21:50:49 +0500 Subject: [PATCH] fix: fix quality check --- scripts/eslint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/eslint.py b/scripts/eslint.py index f4ab9bc8fc79..7d402e831712 100644 --- a/scripts/eslint.py +++ b/scripts/eslint.py @@ -53,7 +53,7 @@ def run_eslint(): "FAILURE: Too many eslint violations ({count}).\nThe limit is {violations_limit}.".format(count=num_violations, violations_limit=violations_limit)) else: print(f"successfully run eslint with '{num_violations}' violations") - + # An AttributeError will occur if the regex finds no matches. except (AttributeError, ValueError): print(f"FAILURE: Number of eslint violations could not be found in '{last_line}'")