(filePath: string)
| 37 | |
| 38 | export const normalizeSlashes = (filePath: string) => filePath.replace(/\\/g, "/"); |
| 39 | export const trimExtension = (filePath: string) => filePath.slice(0, -path.extname(filePath).length); |
| 40 | |
| 41 | export function formatPathToLuaPath(filePath: string): string { |
| 42 | filePath = filePath.replace(/\.json$/, ""); |
no outgoing calls
no test coverage detected