(targetPath: string)
| 36 | } |
| 37 | |
| 38 | private async pathExists(targetPath: string): Promise<boolean> { |
| 39 | try { |
| 40 | await fs.promises.access(targetPath, fs.constants.F_OK); |
| 41 | return true; |
| 42 | } catch { |
| 43 | return false; |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | private async ensureMuxRootDir(): Promise<void> { |
| 48 | if (!(await this.pathExists(this.config.rootDir))) { |
no outgoing calls
no test coverage detected