File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 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 {
2929 if ( this . shouldAskForEmail ( ) ) {
3030 this . logger . out ( "Leave your e-mail address here to subscribe for NativeScript newsletter and product updates, tips and tricks:" ) ;
3131 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 ( ) ;
3333 this . sendEmail ( email ) ;
3434 }
35-
3635 } ) . future < void > ( ) ( ) ;
3736 }
3837
@@ -56,7 +55,7 @@ export class PostInstallCliCommand extends PostInstallCommand {
5655 } ;
5756
5857 let result = this . $prompter . get ( [ schema ] ) . wait ( ) ;
59- return result . inputString ;
58+ return result . inputEmail ;
6059 } ) . future < string > ( ) ( ) ;
6160 }
6261
You can’t perform that action at this time.
0 commit comments