(url: string)
| 62 | |
| 63 | const postfixRE = /[?#].*$/ |
| 64 | export function cleanUrl(url: string): string { |
| 65 | return url.replace(postfixRE, '') |
| 66 | } |
| 67 | |
| 68 | export function splitFileAndPostfix(path: string): { |
| 69 | file: string |
no outgoing calls
no test coverage detected