mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-10-19 14:04:32 +07:00
node_modules: update (#349)
Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
1 parent
9d0c26ec8b
commit
0a1f5db16c
36 files changed
+1934
-648
No files matched your search
+4
-1
@@ -145,7 +145,10 @@ export default class MailMessage {
|
||||
const values = [data.html, data.text, data.watchHtml, data.amp, data.raw, data.icalEvent];
|
||||
for (const key of ['attachments', 'alternatives']) {
|
||||
if (Array.isArray(data[key])) {
|
||||
values.push(...data[key]);
|
||||
// one at a time, spreading a long enough list into the arguments throws
|
||||
for (const entry of data[key]) {
|
||||
values.push(entry);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (const value of values) {
|
||||
|
||||
Reference in new issue
Block a user