Skip to content

Commit

Permalink
fix: fix quality check
Browse files Browse the repository at this point in the history
  • Loading branch information
salman2013 committed Dec 2, 2024
1 parent 8c1f5b9 commit 21b2b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/eslint.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}'")
Expand Down

0 comments on commit 21b2b0b

Please sign in to comment.