(str: string, normalized = '\n')
| 3 | export const componentsFixtureDir = fileURLToPath(new URL('components-fixture', import.meta.url)) |
| 4 | |
| 5 | export function normalizeLineEndings (str: string, normalized = '\n') { |
| 6 | return str.replace(/\r?\n/g, normalized) |
| 7 | } |
| 8 | |
| 9 | export function clean (string?: string) { |
| 10 | const lines = string?.split('\n').filter(l => l.trim()) || [] |
no outgoing calls
no test coverage detected
searching dependent graphs…