(date: Date)
| 24 | } |
| 25 | |
| 26 | function formatTimestamp(date: Date): string { |
| 27 | const pad = (value: number) => String(value).padStart(2, "0"); |
| 28 | return [ |
| 29 | String(date.getFullYear()), |
| 30 | pad(date.getMonth() + 1), |
| 31 | pad(date.getDate()), |
| 32 | "-", |
| 33 | pad(date.getHours()), |
| 34 | pad(date.getMinutes()), |
| 35 | pad(date.getSeconds()), |
| 36 | ].join(""); |
| 37 | } |
| 38 | |
| 39 | export interface BundledIssueReport { |
| 40 | path: string; |
no test coverage detected