(aUrl: string)
| 214 | * blah\something => blah/something |
| 215 | */ |
| 216 | export function forceForwardSlashes(aUrl: string): string { |
| 217 | return aUrl |
| 218 | .replace(/\\\//g, '/') // Replace \/ (unnecessarily escaped forward slash) |
| 219 | .replace(/\\/g, '/'); |
| 220 | } |
| 221 | |
| 222 | /** |
| 223 | * Splits the path with the drive letter included with a trailing slash |
no test coverage detected