fix: display fuckup

This commit is contained in:
jash
2018-11-14 23:05:44 +01:00
committed by kexkey
parent 7ecc6c3edc
commit 7b2a54f50a

View File

@@ -152,7 +152,7 @@ module.exports = class extends Generator {
} else {
let r = {};
process.stdout.write(reset);
process.stdout.write(clear+reset);
while( !r.password0 || !r.password1 || r.password0 !== r.password1 ) {
if( r.password0 && r.password1 && r.password0 !== r.password1 ) {