(input: string)
| 461 | } |
| 462 | |
| 463 | function isConsistentlyCrlf(input: string): boolean { |
| 464 | const hasCrlf = /\r\n/.test(input) |
| 465 | const hasBareLf = /(^|[^\r])\n/.test(input) |
| 466 | return hasCrlf && !hasBareLf |
| 467 | } |
| 468 | |
| 469 | function preserveOriginalLineEndings(params: { |
| 470 | original: string |
no outgoing calls
no test coverage detected