Skip to content

Commit

Permalink
Fix typo in no test case
Browse files Browse the repository at this point in the history
Issue brought forward by @fiona-naughton
  • Loading branch information
IAlibay authored Jan 17, 2024
1 parent 61f19b8 commit 9ee6da5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/mdakit.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ def gen_ci_badges(self, run_type):
status = getattr(self.status.data, run_type)

if ((self.metadata.run_tests is None) or
(run_type == 'develop' and self.metadata.install is None) or
(run_type == 'latest' and self.metadata.src_install is None)):
(run_type == 'develop' and self.metadata.src_install is None) or
(run_type == 'latest' and self.metadata.install is None)):
return self._get_custom_badge(run_type, "unavailable", "inactive")
elif status.numfails > 1:
return self._get_custom_badge(run_type, "failed", "red")
Expand Down

0 comments on commit 9ee6da5

Please sign in to comment.