File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,9 @@ export class PostInstallCliCommand extends PostInstallCommand {
29
29
if ( this . shouldAskForEmail ( ) ) {
30
30
this . logger . out ( "Leave your e-mail address here to subscribe for NativeScript newsletter and product updates, tips and tricks:" ) ;
31
31
let email = this . getEmail ( "(press Enter for blank)" ) . wait ( ) ;
32
- this . $userSettingsService . saveSetting ( "EMAIL_REGISTERED" , true ) . wait ( ) ;
32
+ this . $userSettingsService . saveSetting ( "EMAIL_REGISTERED" , true ) . wait ( ) ;
33
33
this . sendEmail ( email ) ;
34
34
}
35
-
36
35
} ) . future < void > ( ) ( ) ;
37
36
}
38
37
@@ -56,7 +55,7 @@ export class PostInstallCliCommand extends PostInstallCommand {
56
55
} ;
57
56
58
57
let result = this . $prompter . get ( [ schema ] ) . wait ( ) ;
59
- return result . inputString ;
58
+ return result . inputEmail ;
60
59
} ) . future < string > ( ) ( ) ;
61
60
}
62
61
You can’t perform that action at this time.
0 commit comments