Skip to content

armgit / Ix

Public Imported from GitHub
0

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

Merge main into fix/discovery-symlink-escape

KageBinarya37d5b752a55
diff --cc ix-cli/src/cli/commands/ingest.ts
index 905e0ba2,af952df3..31e4c959
--- a/ix-cli/src/cli/commands/ingest.ts
+++ b/ix-cli/src/cli/commands/ingest.ts
@@@ -1109,10 -1043,11 +1110,14 @@@ export async function ingestFiles
stat.isFile()
? (isSupportedSourceFile(resolvedPath) ? [resolvedPath] : [])
: (tryGitLsFiles(resolvedPath, opts.recursive ?? true) ?? Array.from(walkFiles(resolvedPath, opts.recursive ?? true))),
+ stat.isFile() ? undefined : resolvedPath,
);
+ const filePaths: string[] = discovery.files;
+ outsideRoot = discovery.outsideRoot;
+ const resolveOpts = {
+ ...crossRepoResolveOpts,
+ resolveModuleSpecifier: createTypeScriptModuleResolver(workspaceRoot, filePaths),
+ };
filesDiscovered = filePaths.length;
const discovered = performance.now();