mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2025-08-17 19:14:38 +07:00
node_modules: update
This commit is contained in:
6
node_modules/nodemailer/lib/shared/index.js
generated
vendored
6
node_modules/nodemailer/lib/shared/index.js
generated
vendored
@ -327,7 +327,11 @@ module.exports.resolveContent = (data, key, callback) => {
|
||||
}
|
||||
// we can't stream twice the same content, so we need
|
||||
// to replace the stream object with the streaming result
|
||||
data[key] = value;
|
||||
if (data[key].content) {
|
||||
data[key].content = value;
|
||||
} else {
|
||||
data[key] = value;
|
||||
}
|
||||
callback(null, value);
|
||||
});
|
||||
} else if (/^https?:\/\//i.test(content.path || content.href)) {
|
||||
|
Reference in New Issue
Block a user