(text: string, lineEnding: LineEnding)
| 40 | } |
| 41 | |
| 42 | const convertLineEndings = (text: string, lineEnding: LineEnding): string => { |
| 43 | return text.replace(LINE_ENDING_REG, getLineEnding(lineEnding)) |
| 44 | } |
| 45 | |
| 46 | /** |
| 47 | * Special function to normalize directory and markdown file paths. |
no test coverage detected