style: fix biome formatting

This commit is contained in:
Joao Lisboa
2025-12-02 17:06:03 -03:00
committed by Peter Steinberger
parent 73a9fdca2a
commit 499a3e3227
4 changed files with 4905 additions and 7 deletions

View File

@@ -133,7 +133,11 @@ function pruneOldRollingLogs(dir: string): void {
const cutoff = Date.now() - MAX_LOG_AGE_MS;
for (const entry of entries) {
if (!entry.isFile()) continue;
if (!entry.name.startsWith(`${LOG_PREFIX}-`) || !entry.name.endsWith(LOG_SUFFIX)) continue;
if (
!entry.name.startsWith(`${LOG_PREFIX}-`) ||
!entry.name.endsWith(LOG_SUFFIX)
)
continue;
const fullPath = path.join(dir, entry.name);
try {
const stat = fs.statSync(fullPath);