(p: string)
| 3 | * Windows APIs accept forward slashes, so normalizing to / is safe everywhere. |
| 4 | */ |
| 5 | export function normalizePath(p: string): string { |
| 6 | return p.replace(/\\/g, "/") |
| 7 | } |
| 8 | |
| 9 | /** |
| 10 | * Join path segments with forward slashes. |
no outgoing calls
no test coverage detected