mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-06-22 00:46:12 +07:00
node_modules: upgrade
This commit is contained in:
+4
@@ -95,6 +95,10 @@ class Mail extends EventEmitter {
|
||||
['close', 'isIdle', 'verify'].forEach(method => {
|
||||
this[method] = (...args) => {
|
||||
if (typeof this.transporter[method] === 'function') {
|
||||
if (method === 'verify' && typeof this.getSocket === 'function') {
|
||||
this.transporter.getSocket = this.getSocket;
|
||||
this.getSocket = false;
|
||||
}
|
||||
return this.transporter[method](...args);
|
||||
} else {
|
||||
this.logger.warn(
|
||||
|
||||
+1
-1
@@ -96,7 +96,7 @@ class MailMessage {
|
||||
}
|
||||
});
|
||||
|
||||
let singleKeys = ['from', 'sender', 'replyTo'];
|
||||
let singleKeys = ['from', 'sender'];
|
||||
singleKeys.forEach(address => {
|
||||
if (this.data[address]) {
|
||||
this.data[address] = this.data[address].shift();
|
||||
|
||||
Reference in New Issue
Block a user