Skip to content

Commit

Permalink
Fix: log warnings with input-checksum-quick (#1318)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmercm authored Aug 28, 2024
1 parent 2811035 commit 6126d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/scanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6126d77

Please sign in to comment.