Apply suggestion from @CommanderStorm

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

View File

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