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 e721b8b commit cc33cf5Copy full SHA for cc33cf5
plugin/src/helpers/cache.ts
@@ -1,7 +1,5 @@
1
import path from 'path'
2
3
-import { existsSync, readdirSync } from 'fs-extra'
4
-
5
import { getGatsbyRoot } from './config'
6
7
function getCacheDirs(publish) {
@@ -29,13 +27,6 @@ export async function restoreCache({ publish, utils }): Promise<void> {
29
27
} else {
30
28
console.log('No Gatsby cache found. Building fresh.')
31
}
32
- cacheDirs.forEach((dir) => {
33
- if (!existsSync(dir)) {
34
- return
35
- }
36
- const dirInfo = readdirSync(dir)
37
- console.log(dir, dirInfo)
38
- })
39
40
41
export function normalizedCacheDir(publish: string): string {
0 commit comments