From 6126d77f3923cf531752627fe9a690a03049cf2b Mon Sep 17 00:00:00 2001 From: Christian Emmer <10749361+emmercm@users.noreply.github.com> Date: Tue, 27 Aug 2024 18:40:41 -0700 Subject: [PATCH] Fix: log warnings with input-checksum-quick (#1318) --- src/modules/scanner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/scanner.ts b/src/modules/scanner.ts index a5685f521..03bf7eb2b 100644 --- a/src/modules/scanner.ts +++ b/src/modules/scanner.ts @@ -106,7 +106,7 @@ export default abstract class Scanner extends Module { const archiveWithoutChecksums = files .filter((file) => file instanceof ArchiveEntry) .map((archiveEntry) => archiveEntry.getArchive()) - .find((archive) => archive instanceof Gzip || Tar); + .find((archive) => archive instanceof Gzip || archive instanceof Tar); if (archiveWithoutChecksums !== undefined) { this.progressBar.logWarn(`${archiveWithoutChecksums.getFilePath()}: quick checksums will skip ${archiveWithoutChecksums.getExtension()} files`); return;