diff --git a/gitnexus/src/core/ingestion/languages/typescript.ts b/gitnexus/src/core/ingestion/languages/typescript.ts index 880c00426..e2ec9d23f 100644 --- a/gitnexus/src/core/ingestion/languages/typescript.ts +++ b/gitnexus/src/core/ingestion/languages/typescript.ts @@ -105,9 +105,7 @@ const tsExtractFunctionName = ( } if (keyNode.type === 'string') { // `"add-item": () => ...` — the literal text inside the quotes. - const fragment = keyNode.children?.find( - (c: SyntaxNode) => c.type === 'string_fragment', - ); + const fragment = keyNode.children?.find((c: SyntaxNode) => c.type === 'string_fragment'); const text = fragment?.text ?? null; return { funcName: text, label: 'Function' }; }