🐛 indexing bug fixes

This commit is contained in:
Nate Sesti 2024-01-28 18:39:47 -08:00
parent 1d289383c6
commit 539993c456
3 changed files with 1 additions and 3 deletions

View File

@ -84,7 +84,6 @@ export class ChunkCodebaseIndex implements CodebaseIndex {
desc: `Chunking ${getBasename(item.path)}`,
};
markComplete([item], IndexResultType.Compute);
i++;
}
// Add tag

View File

@ -8,7 +8,6 @@ import { getUniqueId } from "./util/vscode";
let client: any = undefined;
export async function capture(args: any) {
console.log("Capturing posthog event: ", args);
if (!client) {
const { PostHog } = await import("posthog-node");
client = new PostHog("phc_JS6XFROuNbhJtVCEdTSYk6gl5ArRrTNMpCcguAXlSPs", {

View File

@ -65,7 +65,7 @@ export async function vsCodeIndexCodebase(workspaceDirs: string[]) {
};
const [results, markComplete] = await getComputeDeleteAddRemove(
tag,
stats,
{ ...stats },
(filepath) => ideProtocolClient.readFile(filepath)
);