(targetDir: string)
| 207 | } |
| 208 | |
| 209 | async function isRecommended(targetDir: string): Promise<boolean> { |
| 210 | return (await detectFramework(targetDir)) !== 'other'; |
| 211 | } |
| 212 | |
| 213 | async function detectFramework(targetDir: string): Promise<Framework> { |
| 214 | const files = await readdir(targetDir, { encoding: 'utf8' }); |
nothing calls this directly
no test coverage detected