(path: string)
| 91 | |
| 92 | // Helper to normalize path similar to Python's os.path.normpath |
| 93 | function normalizePath(path: string): string { |
| 94 | return path |
| 95 | .split("/") |
| 96 | .filter(Boolean) |
| 97 | .join("/") |
| 98 | .replace(/\/+/g, "/"); |
| 99 | } |
| 100 | |
| 101 | function cleanBasePath(apiBasePath: string | null | undefined){ |
| 102 |
no test coverage detected