(repo: string, number: JsonValue)
| 1078 | } |
| 1079 | |
| 1080 | function prCloseCoverageCoveringUpdatedAt(repo: string, number: JsonValue): string | null { |
| 1081 | const pull = fetchPullRequest(repo, number); |
| 1082 | const pullUpdatedAt = stringOrNull(pull.updated_at ?? pull.updatedAt); |
| 1083 | if (pullUpdatedAt) return pullUpdatedAt; |
| 1084 | const issue = fetchIssue(repo, number); |
| 1085 | return stringOrNull(issue.updated_at ?? issue.updatedAt); |
| 1086 | } |
| 1087 | |
| 1088 | function validatePrCloseCoverageCoveringSafety({ |
| 1089 | result, |
no test coverage detected