fix: stop cleanup timestamp pruning after the first entry (#377)

The timestamp branch in rmExcept returned after the first directory
entry, so at most one outdated item was ever removed. Replace the early
return with continue so every entry is checked.
This commit is contained in:
Tethys Svensson
2026-08-12 18:12:05 +02:00
committed by GitHub
parent a45951ff88
commit 258712b0b7
6 changed files with 4224 additions and 4222 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { e as error, g as getCacheProvider, a as getInput, d as isCacheUpToDate, i as info, C as CacheConfig, c as cleanTargetDir, f as debug, h as cleanRegistry, j as cleanBin, k as cleanGit, r as reportError, l as exec } from './cleanup-BWEbZ6YT.js';
import { e as error, g as getCacheProvider, a as getInput, d as isCacheUpToDate, i as info, C as CacheConfig, c as cleanTargetDir, f as debug, h as cleanRegistry, j as cleanBin, k as cleanGit, r as reportError, l as exec } from './cleanup-BPghO_DY.js';
import 'os';
import 'crypto';
import 'fs';