Skip to content

Commit

Permalink
Always set draft_modified when rewriting a status.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Jul 15, 2024
1 parent 4457128 commit af6090f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/src/healthstatus/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ def __post_init__(self) -> None:
tests=[TestStatus(name=testname) for testname in TESTS.keys()],
versions=self.versions,
)
else:
self.status.draft_modified = self.draft_modified

Check warning on line 255 in code/src/healthstatus/checker.py

View check run for this annotation

Codecov / codecov/patch

code/src/healthstatus/checker.py#L255

Added line #L255 was not covered by tests

@property
def statusfile(self) -> Path:
Expand Down

0 comments on commit af6090f

Please sign in to comment.