From e008b7dae7c94575cc4133e25a62fcaa1f40a24d Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Wed, 24 Jan 2024 21:45:30 +0530 Subject: [PATCH] Remove logs --- scripts/size.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/size.ts b/scripts/size.ts index 1e21dd3ba..c2d753f63 100644 --- a/scripts/size.ts +++ b/scripts/size.ts @@ -16,7 +16,6 @@ export const getSizes = (metafile: Metafile) => { const readStats = async (path: string): Promise> => { const files = await globby(path); - console.log(path, files); const contents = await Promise.all(files.map((file) => readFile(file, 'utf-8'))); const sizes = contents.flatMap((content) => getSizes(JSON.parse(content))); return Object.fromEntries(sizes); @@ -37,7 +36,6 @@ const percentageDifference = (oldValue: number, newValue: number): string => { const main = async () => { const oldStats = await readStats('./cypress/snapshots/stats/base/**/*.json'); const newStats = await readStats('./cypress/snapshots/stats/head/**/*.json'); - console.log(oldStats, newStats); const diff = Object.entries(newStats) .map(([key, value]) => { const oldValue = oldStats[key];