Skip to content

Commit

Permalink
clear condition
Browse files Browse the repository at this point in the history
  • Loading branch information
mickahell committed Jul 31, 2023
1 parent d9311ac commit deac138
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ecosystem/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ def update_badges(self):
for project in self.dao.get_repos_by_tier(tier):
tests_passed = True
for type_test in project.tests_results:
if type_test.test_type == "standard":
tests_passed = True is type_test.passed
if type_test.test_type == "standard" and not type_test.passed:
tests_passed = False
color = "blueviolet" if tests_passed else "gray"
label = project.name
message = tier
Expand Down

0 comments on commit deac138

Please sign in to comment.