(input: IssueInput)
| 64 | } |
| 65 | |
| 66 | export function buildIssueUrl(input: IssueInput): string { |
| 67 | const repo = normalizeRepoUrl(input.repoUrl); |
| 68 | const title = encodeURIComponent(buildIssueTitle(input.rating, input.comment)); |
| 69 | const body = encodeURIComponent(buildIssueBody(input)); |
| 70 | return `${repo}/issues/new?title=${title}&body=${body}&labels=bug`; |
| 71 | } |
no test coverage detected