Skip to content

Commit e05e5a6

Browse files
committed
fix: Use cline.cwd as primary for workspace directory in getCheckpointService
1 parent f53fd39 commit e05e5a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/checkpoints/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export async function getCheckpointService(
5656
console.log("[Task#getCheckpointService] initializing checkpoints service")
5757

5858
try {
59-
const workspaceDir = getWorkspacePath()
59+
const workspaceDir = cline.cwd || getWorkspacePath()
6060

6161
if (!workspaceDir) {
6262
log("[Task#getCheckpointService] workspace folder not found, disabling checkpoints")

0 commit comments

Comments
 (0)