main: remove logging

This commit is contained in:
Dawid Dziurla 2021-02-18 20:11:29 +01:00 committed by GitHub
parent 8be2ceac54
commit 16840503b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,8 +55,6 @@ async function main() {
} }
}) })
console.log(transport.options)
const info = await transport.sendMail({ const info = await transport.sendMail({
from: getFrom(from, username), from: getFrom(from, username),
to: to, to: to,
@ -67,8 +65,6 @@ async function main() {
html: contentType == "text/html" ? getBody(body, convertMarkdown) : undefined, html: contentType == "text/html" ? getBody(body, convertMarkdown) : undefined,
attachments: attachments ? attachments.split(',').map(f => ({ path: f.trim() })) : undefined attachments: attachments ? attachments.split(',').map(f => ({ path: f.trim() })) : undefined
}) })
console.log(info)
} catch (error) { } catch (error) {
core.setFailed(error.message) core.setFailed(error.message)
} }