mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-05-01 14:33:31 +08:00
fix: avoid loop-status index snapshot collision
This commit is contained in:
committed by
Affaan Mustafa
parent
7627926216
commit
2715315438
@@ -658,7 +658,7 @@ function writeStatusSnapshots(payload, writeDir) {
|
||||
const outputDir = path.resolve(writeDir);
|
||||
fs.mkdirSync(outputDir, { recursive: true });
|
||||
|
||||
const usedNames = new Set();
|
||||
const usedNames = new Set(['index.json']);
|
||||
const sessions = payload.sessions.map(session => {
|
||||
const snapshotPath = getSnapshotPath(outputDir, session, usedNames);
|
||||
atomicWriteJson(snapshotPath, {
|
||||
|
||||
Reference in New Issue
Block a user