(value: string, max: number)
| 28 | } |
| 29 | |
| 30 | function truncate(value: string, max: number): string { |
| 31 | return value.length > max ? `${value.slice(0, max - 1)}…` : value; |
| 32 | } |
| 33 | |
| 34 | function buildIssueTitle(rating: number, comment?: string): string { |
| 35 | const firstLine = comment?.split("\n")[0]?.trim(); |
no outgoing calls
no test coverage detected