Skip to content

Commit e28658f

Browse files
committed
remove inline import
1 parent 2f4fc39 commit e28658f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/array/src/main/services/folders.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import path from "node:path";
2+
import { WorktreeManager } from "@posthog/agent";
23
import { type IpcMainInvokeEvent, ipcMain } from "electron";
34
import type {
45
RegisteredFolder,
@@ -147,7 +148,6 @@ async function cleanupOrphanedWorktreesForFolder(
147148
deleted: string[];
148149
errors: Array<{ path: string; error: string }>;
149150
}> {
150-
const WorktreeManager = (await import("@posthog/agent")).WorktreeManager;
151151
const manager = new WorktreeManager({ mainRepoPath });
152152

153153
const associations = foldersStore.get("taskAssociations", []);

0 commit comments

Comments
 (0)