mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2024-12-26 11:03:06 +07:00
main: remove logging
This commit is contained in:
parent
8be2ceac54
commit
16840503b7
4
main.js
4
main.js
@ -55,8 +55,6 @@ async function main() {
|
||||
}
|
||||
})
|
||||
|
||||
console.log(transport.options)
|
||||
|
||||
const info = await transport.sendMail({
|
||||
from: getFrom(from, username),
|
||||
to: to,
|
||||
@ -67,8 +65,6 @@ async function main() {
|
||||
html: contentType == "text/html" ? getBody(body, convertMarkdown) : undefined,
|
||||
attachments: attachments ? attachments.split(',').map(f => ({ path: f.trim() })) : undefined
|
||||
})
|
||||
|
||||
console.log(info)
|
||||
} catch (error) {
|
||||
core.setFailed(error.message)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user