(path)
| 14179 | return filename ? filename.replace(/\.[^\.]+$/, "") : "" |
| 14180 | } |
| 14181 | static getFileName(path) { |
| 14182 | const normalizedPath = path.replace(/\\/g, "/") |
| 14183 | const parts = normalizedPath.split("/") |
| 14184 | return parts.pop() |
| 14185 | } |
| 14186 | static getPathWithoutFileName(path) { |
| 14187 | const normalizedPath = path.replace(/\\/g, "/") |
| 14188 | const parts = normalizedPath.split("/") |
no test coverage detected