Round 8 bug fixes (20 fixes)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sucukdeluxe
2026-03-04 22:14:03 +01:00
co-authored by Claude Opus 4.6
parent 75775f2798
commit 74920e2e2f
5 changed files with 30 additions and 17 deletions
+2
View File
@@ -485,6 +485,7 @@ async function writeSettingsPayload(paths: StoragePaths, payload: string): Promi
await fsp.copyFile(tempPath, paths.configFile);
await fsp.rm(tempPath, { force: true }).catch(() => {});
} else {
await fsp.rm(tempPath, { force: true }).catch(() => {});
throw renameError;
}
}
@@ -605,6 +606,7 @@ async function writeSessionPayload(paths: StoragePaths, payload: string, generat
await fsp.copyFile(tempPath, paths.sessionFile);
await fsp.rm(tempPath, { force: true }).catch(() => {});
} else {
await fsp.rm(tempPath, { force: true }).catch(() => {});
throw renameError;
}
}