Skip to content

armgit / Ix

Public Imported from GitHub
0

Understand any codebase instantly. System intelligence for codebases, built for humans and AI.

fix: rank uses listByKind instead of empty-string search

riley0227e3948bee51b8
diff --git a/ix-cli/src/cli/commands/rank.ts b/ix-cli/src/cli/commands/rank.ts
index 6c68fc7c..f1be59f9 100644
--- a/ix-cli/src/cli/commands/rank.ts
+++ b/ix-cli/src/cli/commands/rank.ts
@@ -55,7 +55,7 @@ export function registerRankCommand(program: Command): void {
const diagnostics: string[] = [];
// 1. Fetch all entities of the given kind
- const allNodes = await client.search("", { limit: 200, kind: opts.kind });
+ const allNodes = await client.listByKind(opts.kind, { limit: 200 });
if (allNodes.length === 0) {
if (isJson) {