fix #176 by removing useless warning message (#177)

This commit is contained in:
Simon Tremblay 2023-08-19 02:57:30 -04:00 committed by GitHub
parent 3c0bbc53ef
commit 19516a4a58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,10 +96,6 @@ async function main() {
throw new Error("Server address must be specified") throw new Error("Server address must be specified")
} }
if (!username || !password) {
core.warning("Username and password not specified. You should only do this if you are using a self-hosted runner to access an on-premise mail server.")
}
const transport = nodemailer.createTransport({ const transport = nodemailer.createTransport({
host: serverAddress, host: serverAddress,
auth: username && password ? { auth: username && password ? {