(
pullRequest: PullRequestInfo,
options: FormatGitBadgeOptions = {},
)
| 327 | } |
| 328 | |
| 329 | export function formatPullRequestBadge( |
| 330 | pullRequest: PullRequestInfo, |
| 331 | options: FormatGitBadgeOptions = {}, |
| 332 | ): string { |
| 333 | const prText = `[PR#${String(pullRequest.number)}]`; |
| 334 | return options.linkPullRequest ? toTerminalHyperlink(prText, pullRequest.url) : prText; |
| 335 | } |
| 336 | |
| 337 | export function formatGitBadge(status: GitStatus, options: FormatGitBadgeOptions = {}): string { |
| 338 | const base = formatGitBadgeBase(status); |
no test coverage detected