Skip to content

Commit

Permalink
fix(debug): log file list when verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
djMax committed Sep 24, 2023
1 parent 9a152ad commit e9a6c51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e9a6c51

Please sign in to comment.