(posix: string)
| 174 | const toPosix = path.sep === "/" ? (file: string) => file : (file: string) => file.split(path.sep).join("/") |
| 175 | |
| 176 | const fileToModuleName = (posix: string): string => { |
| 177 | const withoutExt = posix.slice(0, -path.extname(posix).length) |
| 178 | return withoutExt.replace(/\//g, "_") |
| 179 | } |
| 180 | |
| 181 | const processModule = Effect.fn("processModule")(function*(directory: string, file: string) { |
| 182 | const fullPath = path.join(directory, file) |
no test coverage detected