(input: string)
| 50 | } |
| 51 | |
| 52 | function normalizeLineEndings(input: string): string { |
| 53 | return input.replace(/\r\n/g, '\n') |
| 54 | } |
| 55 | |
| 56 | function ensureTrailingNewline(input: string): string { |
| 57 | return input.endsWith('\n') ? input : `${input}\n` |
no outgoing calls
no test coverage detected