(input: string)
| 54 | } |
| 55 | |
| 56 | function ensureTrailingNewline(input: string): string { |
| 57 | return input.endsWith('\n') ? input : `${input}\n` |
| 58 | } |
| 59 | |
| 60 | function stripTrailingNewline(input: string): string { |
| 61 | return input.endsWith('\n') ? input.slice(0, -1) : input |
no outgoing calls
no test coverage detected