mirror of https://github.com/openclaw/openclaw.git
fix: finalize backup hardening
This commit is contained in:
parent
581ab65019
commit
4f98de2f64
|
|
@ -127,7 +127,7 @@ export async function resolveBackupPlanFromDisk(
|
|||
});
|
||||
const workspaceDirs = includeWorkspace ? cleanupPlan.workspaceDirs : [];
|
||||
|
||||
const rawCandidates = [
|
||||
const rawCandidates: Array<Pick<BackupAssetCandidate, "kind" | "sourcePath">> = [
|
||||
{ kind: "state", sourcePath: path.resolve(stateDir) },
|
||||
...(cleanupPlan.configInsideState
|
||||
? []
|
||||
|
|
|
|||
Loading…
Reference in New Issue