diff --git a/gitnexus/src/core/ingestion/framework-detection.ts b/gitnexus/src/core/ingestion/framework-detection.ts index c20015205..739f22967 100644 --- a/gitnexus/src/core/ingestion/framework-detection.ts +++ b/gitnexus/src/core/ingestion/framework-detection.ts @@ -39,7 +39,9 @@ export function detectFrameworkFromPath(filePath: string): FrameworkHint | null if (!p.startsWith('/')) { p = '/' + p; // Add leading slash so patterns like '/app/' match 'app/...' } - const originalPathWithLeadingSlash = originalPath.startsWith('/') ? originalPath : `/${originalPath}`; + const originalPathWithLeadingSlash = originalPath.startsWith('/') + ? originalPath + : `/${originalPath}`; // ========== JAVASCRIPT / TYPESCRIPT FRAMEWORKS ==========