MCPcopy Index your code
hub / github.com/code-pushup/cli / isRecommended

Function isRecommended

packages/plugin-coverage/src/lib/binding.ts:209–211  ·  view source on GitHub ↗
(targetDir: string)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

detectFrameworkFunction · 0.85

Tested by

no test coverage detected