(aUrl: string)
| 168 | * blah\something => blah/something |
| 169 | */ |
| 170 | export function forceForwardSlashes(aUrl: string): string { |
| 171 | return aUrl |
| 172 | .replace(/\\\//g, '/') // Replace \/ (unnecessarily escaped forward slash) |
| 173 | .replace(/\\/g, '/'); |
| 174 | } |
| 175 | |
| 176 | /** |
| 177 | * Splits the path with the drive letter included with a trailing slash |
no test coverage detected