From 403489f53a258e6dad5d86a4577c2ad57b04f0a0 Mon Sep 17 00:00:00 2001 From: Rob Stanford Date: Thu, 5 May 2022 09:27:17 +0100 Subject: [PATCH] chore: remove cache dir debug logs --- plugin/src/helpers/cache.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/plugin/src/helpers/cache.ts b/plugin/src/helpers/cache.ts index 0c48f14e..09313234 100644 --- a/plugin/src/helpers/cache.ts +++ b/plugin/src/helpers/cache.ts @@ -1,7 +1,5 @@ import path from 'path' -import { existsSync, readdirSync } from 'fs-extra' - import { getGatsbyRoot } from './config' function getCacheDirs(publish) { @@ -29,13 +27,6 @@ export async function restoreCache({ publish, utils }): Promise { } else { console.log('No Gatsby cache found. Building fresh.') } - cacheDirs.forEach((dir) => { - if (!existsSync(dir)) { - return - } - const dirInfo = readdirSync(dir) - console.log(dir, dirInfo) - }) } export function normalizedCacheDir(publish: string): string {