Skip to content
Snippets Groups Projects
Commit c61b6078 authored by Austin Anderson's avatar Austin Anderson
Browse files

Fix typo

parent 14467203
Branches
No related tags found
No related merge requests found
...@@ -241,7 +241,7 @@ for category in YAML_CONFIG["badges"]: ...@@ -241,7 +241,7 @@ for category in YAML_CONFIG["badges"]:
total = len(by_group[category]) total = len(by_group[category])
passed = sum([jobs[0]["passing"] for name, jobs in by_group[category].items()]) passed = sum([jobs[0]["passing"] for name, jobs in by_group[category].items()])
failed = total - passed failed = total - passed
if failing == 0: if failed == 0:
url = f"https://img.shields.io/static/v1?label={category}&message={passed} passed, 0 failed&color=success" url = f"https://img.shields.io/static/v1?label={category}&message={passed} passed, 0 failed&color=success"
else: else:
url = f"https://img.shields.io/static/v1?label={category}&message={passed} passed, {failed} failed&color=critical" url = f"https://img.shields.io/static/v1?label={category}&message={passed} passed, {failed} failed&color=critical"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment