Apply suggestion from @CommanderStorm

This commit is contained in:
Frank Elsinga 2026-01-18 14:10:21 +01:00 committed by GitHub
parent 230b85edb7
commit 6b505447cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,8 @@ const main = async () => {
throw new Error(passwordValidation.msg);
}
if (passwordValidation.warning) {
console.warn(passwordValidation.warning);
console.warn("\x1b[31m%s\x1b[0m",
"Warning: "+passwordValidation.warning);
}
} else {
password = await question("New Password: ");