mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2025-08-23 14:04:05 +07:00
node_modules: upgrade
This commit is contained in:
8
node_modules/nodemailer/lib/dkim/index.js
generated
vendored
8
node_modules/nodemailer/lib/dkim/index.js
generated
vendored
@ -54,10 +54,10 @@ class DKIMSigner {
|
||||
this.output = output;
|
||||
this.output.usingCache = false;
|
||||
|
||||
this.errored = false;
|
||||
this.hasErrored = false;
|
||||
|
||||
this.input.on('error', err => {
|
||||
this.errored = true;
|
||||
this.hasErrored = true;
|
||||
this.cleanup();
|
||||
output.emit('error', err);
|
||||
});
|
||||
@ -84,7 +84,7 @@ class DKIMSigner {
|
||||
}
|
||||
|
||||
sendNextChunk() {
|
||||
if (this.errored) {
|
||||
if (this.hasErrored) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -145,7 +145,7 @@ class DKIMSigner {
|
||||
// do nothing
|
||||
}
|
||||
});
|
||||
this.errored = true;
|
||||
this.hasErrored = true;
|
||||
// emit error
|
||||
this.output.emit('error', err);
|
||||
});
|
||||
|
Reference in New Issue
Block a user