We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f4fc39 commit e28658fCopy full SHA for e28658f
apps/array/src/main/services/folders.ts
@@ -1,4 +1,5 @@
1
import path from "node:path";
2
+import { WorktreeManager } from "@posthog/agent";
3
import { type IpcMainInvokeEvent, ipcMain } from "electron";
4
import type {
5
RegisteredFolder,
@@ -147,7 +148,6 @@ async function cleanupOrphanedWorktreesForFolder(
147
148
deleted: string[];
149
errors: Array<{ path: string; error: string }>;
150
}> {
- const WorktreeManager = (await import("@posthog/agent")).WorktreeManager;
151
const manager = new WorktreeManager({ mainRepoPath });
152
153
const associations = foldersStore.get("taskAssociations", []);
0 commit comments