File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,9 @@ export const text = (opts: TextOptions) => {
8484
8585 switch ( this . state ) {
8686 case 'validate' :
87- return `${ title } ${ color . cyan ( S_BAR ) } ${ value } \n${ color . cyan ( S_BAR_END ) } ${ color . dim ( 'Validating...' ) } \n` ;
87+ return `${ title } ${ color . cyan ( S_BAR ) } ${ value } \n${ color . cyan ( S_BAR_END ) } ${ color . dim (
88+ 'Validating...'
89+ ) } \n`;
8890 case 'error' :
8991 return `${ title . trim ( ) } \n${ color . yellow ( S_BAR ) } ${ value } \n${ color . yellow (
9092 S_BAR_END
@@ -117,6 +119,10 @@ export const password = (opts: PasswordOptions) => {
117119 const masked = this . masked ;
118120
119121 switch ( this . state ) {
122+ case 'validate' :
123+ return `${ title } ${ color . cyan ( S_BAR ) } ${ masked } \n${ color . cyan ( S_BAR_END ) } ${ color . dim (
124+ 'Validating...'
125+ ) } \n`;
120126 case 'error' :
121127 return `${ title . trim ( ) } \n${ color . yellow ( S_BAR ) } ${ masked } \n${ color . yellow (
122128 S_BAR_END
You can’t perform that action at this time.
0 commit comments