mirror of
https://github.com/zkemail/zk-email-verify.git
synced 2026-01-08 21:18:09 -05:00
refactor condition check
This commit is contained in:
@@ -182,7 +182,7 @@ export class DkimVerifier extends MessageParser {
|
||||
|
||||
async finalChunk() {
|
||||
try {
|
||||
if ((!this.headers || !this.bodyHashes.size) && !this.skipBodyHash) {
|
||||
if (!this.headers || (!this.skipBodyHash && !this.bodyHashes.size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user