🐛 indexing bug fixes
This commit is contained in:
parent
1d289383c6
commit
539993c456
|
@ -84,7 +84,6 @@ export class ChunkCodebaseIndex implements CodebaseIndex {
|
|||
desc: `Chunking ${getBasename(item.path)}`,
|
||||
};
|
||||
markComplete([item], IndexResultType.Compute);
|
||||
i++;
|
||||
}
|
||||
|
||||
// Add tag
|
||||
|
|
|
@ -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", {
|
||||
|
|
|
@ -65,7 +65,7 @@ export async function vsCodeIndexCodebase(workspaceDirs: string[]) {
|
|||
};
|
||||
const [results, markComplete] = await getComputeDeleteAddRemove(
|
||||
tag,
|
||||
stats,
|
||||
{ ...stats },
|
||||
(filepath) => ideProtocolClient.readFile(filepath)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue