Apply suggestion from @CommanderStorm
This commit is contained in:
parent
230b85edb7
commit
6b505447cc
@ -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: ");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user