(filePath: string)
| 36 | |
| 37 | // 获取不带文件后缀名的文件路径 |
| 38 | export function getFilePathWithoutExt(filePath: string) { |
| 39 | return filePath.slice(0, filePath.lastIndexOf('.')); |
| 40 | } |
| 41 | |
| 42 | export function normalizePath(filepath: string) { |
| 43 | let normalizedPath = path.normalize(filepath); |
no outgoing calls
no test coverage detected