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