From 57389bff360315c1c8554bcb6f9c839271f3760e Mon Sep 17 00:00:00 2001 From: NaccOll Date: Fri, 15 Aug 2025 06:16:54 +0800 Subject: [PATCH] Hotfix multiple folder workspace checkpoint (#6903) --- src/core/checkpoints/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/checkpoints/index.ts b/src/core/checkpoints/index.ts index 05549be0f9..83aefe56b5 100644 --- a/src/core/checkpoints/index.ts +++ b/src/core/checkpoints/index.ts @@ -42,7 +42,7 @@ export async function getCheckpointService( console.log("[Task#getCheckpointService] initializing checkpoints service") try { - const workspaceDir = getWorkspacePath() + const workspaceDir = cline.cwd || getWorkspacePath() if (!workspaceDir) { log("[Task#getCheckpointService] workspace folder not found, disabling checkpoints")