Skip to content

Commit cc33cf5

Browse files
authored
chore: remove cache dir debug logs (#368)
1 parent e721b8b commit cc33cf5

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

plugin/src/helpers/cache.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import path from 'path'
22

3-
import { existsSync, readdirSync } from 'fs-extra'
4-
53
import { getGatsbyRoot } from './config'
64

75
function getCacheDirs(publish) {
@@ -29,13 +27,6 @@ export async function restoreCache({ publish, utils }): Promise<void> {
2927
} else {
3028
console.log('No Gatsby cache found. Building fresh.')
3129
}
32-
cacheDirs.forEach((dir) => {
33-
if (!existsSync(dir)) {
34-
return
35-
}
36-
const dirInfo = readdirSync(dir)
37-
console.log(dir, dirInfo)
38-
})
3930
}
4031

4132
export function normalizedCacheDir(publish: string): string {

0 commit comments

Comments
 (0)