(dir: string)
| 119 | } |
| 120 | |
| 121 | async function resolveDirectoryIndex(dir: string) { |
| 122 | for (const name of INDEX_FILES) { |
| 123 | const file = path.join(dir, name) |
| 124 | if (await Filesystem.exists(file)) return file |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | async function resolveTargetDirectory(target: string) { |
| 129 | const file = targetPath(target) |
no test coverage detected