Hotfix multiple folder workspace checkpoint (#6903)

This commit is contained in:
NaccOll 2025-08-15 06:16:54 +08:00 committed by GitHub
parent 6540f2be5c
commit 57389bff36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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")