From e9a6c51dc0ec5eadf4ea8fdd4e8455f7b8696d08 Mon Sep 17 00:00:00 2001 From: Max Metral Date: Sun, 24 Sep 2023 19:12:21 -0400 Subject: [PATCH] fix(debug): log file list when verbose --- src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/index.ts b/src/index.ts index dad16a5..c2e1857 100644 --- a/src/index.ts +++ b/src/index.ts @@ -102,6 +102,10 @@ export async function compareFiles( for (const file of allFiles) { const localFile = localFilesMap.get(file); const publishedFile = publishedFilesMap.get(file); + if (options.verbose) { + console.log('Local files:', localFilesMap.keys()); + console.log('Published files:', publishedFilesMap.keys()); + } if (!localFile || !publishedFile) { same = false; if (!options.verbose) {