( left: string | null | undefined, right: string | null | undefined, )
| 86 | } |
| 87 | |
| 88 | export function isSameGitHubRepository( |
| 89 | left: string | null | undefined, |
| 90 | right: string | null | undefined, |
| 91 | ) { |
| 92 | const normalizedLeft = left ? normalizeGitHubRepositoryUrl(left) : null |
| 93 | const normalizedRight = right ? normalizeGitHubRepositoryUrl(right) : null |
| 94 | return Boolean(normalizedLeft && normalizedRight && normalizedLeft === normalizedRight) |
| 95 | } |
no test coverage detected