Skip to content

Commit 366b7ce

Browse files
committed
refactor: Rename cacheVersionDir
1 parent 60e16d4 commit 366b7ce

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/project/lib/build/cache/CacheCleanup.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ async function cleanBuildCache(buildCacheDir) {
4646
return removed;
4747
}
4848

49-
let versionDirs;
49+
let cacheVersionDirs;
5050
try {
51-
versionDirs = await fs.readdir(buildCacheDir, {withFileTypes: true});
51+
cacheVersionDirs = await fs.readdir(buildCacheDir, {withFileTypes: true});
5252
} catch {
5353
return removed;
5454
}
5555

5656

57-
for (const versionDir of versionDirs) {
57+
for (const versionDir of cacheVersionDirs) {
5858
if (!versionDir.isDirectory()) {
5959
continue;
6060
}

0 commit comments

Comments
 (0)