(path: string)
| 168 | } |
| 169 | |
| 170 | private getBaseName(path: string): string { |
| 171 | const fileName = this.getFileName(path); |
| 172 | const lastDot = fileName.lastIndexOf('.'); |
| 173 | return lastDot > 0 ? fileName.substring(0, lastDot) : fileName; |
| 174 | } |
| 175 | |
| 176 | private getExtension(path: string): string { |
| 177 | const fileName = this.getFileName(path); |
no test coverage detected