We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60e16d4 commit 366b7ceCopy full SHA for 366b7ce
1 file changed
packages/project/lib/build/cache/CacheCleanup.js
@@ -46,15 +46,15 @@ async function cleanBuildCache(buildCacheDir) {
46
return removed;
47
}
48
49
- let versionDirs;
+ let cacheVersionDirs;
50
try {
51
- versionDirs = await fs.readdir(buildCacheDir, {withFileTypes: true});
+ cacheVersionDirs = await fs.readdir(buildCacheDir, {withFileTypes: true});
52
} catch {
53
54
55
56
57
- for (const versionDir of versionDirs) {
+ for (const versionDir of cacheVersionDirs) {
58
if (!versionDir.isDirectory()) {
59
continue;
60
0 commit comments