mirror of
https://github.com/morluto/rea
synced 2026-10-27 22:45:19 -04:00
refactor(tools): remove artificial analysis ceilings
This commit is contained in:
@@ -39,7 +39,6 @@ export const semanticNodesWithinRange = (
|
||||
export const semanticFamilyStatus = (
|
||||
family: (typeof JAVASCRIPT_SEMANTIC_RELATION_FAMILIES)[number],
|
||||
analysis: JavaScriptArtifactAnalysis,
|
||||
truncated: boolean,
|
||||
): "complete" | "partial" | "unknown" | "unsupported" => {
|
||||
if (
|
||||
![
|
||||
@@ -58,7 +57,6 @@ export const semanticFamilyStatus = (
|
||||
].includes(family)
|
||||
)
|
||||
return "unsupported";
|
||||
if (truncated) return "unknown";
|
||||
return analysis.truncated_scopes === 0 ? "partial" : "unknown";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user