(paths: string[], failedColor: 'red' | 'yellow', baseDir?: string)
| 89 | } |
| 90 | |
| 91 | private static async checkPaths(paths: string[], failedColor: 'red' | 'yellow', baseDir?: string): Promise<void> { |
| 92 | for (let path of paths) { |
| 93 | path = fs.absolutePath(path, baseDir); |
| 94 | path = fs.normalizePath(path); |
| 95 | |
| 96 | if (fs.pathExists(path)) { |
| 97 | CLIHelper.dump(` - ${path} (${colors.green('found')})`); |
| 98 | } else { |
| 99 | CLIHelper.dump(` - ${path} (${colors[failedColor]('not found')})`); |
| 100 | } |
| 101 | } |
| 102 | } |
| 103 | } |
no test coverage detected