Skip to content

Commit 9f1e59c

Browse files
committed
chore: sync dist
1 parent c7d6383 commit 9f1e59c

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

dist/bin/cc-safety-net.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2241,8 +2241,7 @@ function writeAuditLog(sessionId, command, segment, reason, cwd, options = {}) {
22412241
};
22422242
appendFileSync(logFile, `${JSON.stringify(entry)}
22432243
`, "utf-8");
2244-
} catch {
2245-
}
2244+
} catch {}
22462245
}
22472246
function redactSecrets(text) {
22482247
let result = text;
@@ -2583,14 +2582,12 @@ function getActivitySummary(days = 7, logsDir = join3(homedir4(), ".cc-safety-ne
25832582
entries.push(entry);
25842583
hasRecentEntry = true;
25852584
}
2586-
} catch {
2587-
}
2585+
} catch {}
25882586
}
25892587
if (hasRecentEntry) {
25902588
sessionCount++;
25912589
}
2592-
} catch {
2593-
}
2590+
} catch {}
25942591
}
25952592
entries.sort((a, b) => new Date(b.ts).getTime() - new Date(a.ts).getTime());
25962593
const recentEntries = entries.slice(0, 3).map((e) => ({

0 commit comments

Comments
 (0)