Skip to content

Commit e8eac14

Browse files
author
Chetan_konaganahalli
committed
Fixed errors
1 parent 82217e1 commit e8eac14

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

internal/fingerprint/fingerprint.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,5 +454,12 @@ func inMemFingerprintZipContent(filename string, exclusions []string, inclusions
454454

455455
fingerprints = append(fingerprints, FileFingerprint{
456456
path: longFileName,
457-
contentLength: int64(f.UncompressedSize64), //nolint:gosec // G115: intentional conversion, file sizes are within int64 range
457+
contentLength: int64(f.UncompressedSize64),
458+
fingerprint: hasher.Sum(nil),
459+
})
460+
461+
rc.Close()
462+
}
463+
464+
return fingerprints, nil
458465
}

0 commit comments

Comments
 (0)