File tree Expand file tree Collapse file tree 5 files changed +41
-34
lines changed 
init-with-example/__snapshots__ 
with-example/__snapshots__ Expand file tree Collapse file tree 5 files changed +41
-34
lines changed Original file line number Diff line number Diff line change @@ -183,11 +183,10 @@ Promise.resolve().then(async () => {
183183
184184  const  {  androidPackageId }  = 
185185    platforms . indexOf ( 'android' )  !==  - 1 
186-       ? await  prompts ( { 
186+       ? await  prompt ( { 
187187          type : 'text' , 
188188          name : 'androidPackageId' , 
189189          message : 'What is the desired Android package id?' , 
190-           onState, 
191190          initial : 'com.demo' , 
192191          validate : androidPackageId  =>  androidPackageId . length  >  0 
193192        } ) 
Original file line number Diff line number Diff line change @@ -122,14 +122,16 @@ Array [
122122  } , 
123123  Object {  
124124    " prompts" Object  { 
125-       " args" Object  { 
126-         " initial" " com.demo"  
127-         " message" " What is the desired Android package id?"  
128-         " name" " androidPackageId"  
129-         " onState" Function ], 
130-         " type" " text"  
131-         " validate" Function ], 
132-       }, 
125+       " args" Array  [ 
126+         Object  { 
127+           " initial" " com.demo"  
128+           " message" " What is the desired Android package id?"  
129+           " name" " androidPackageId"  
130+           " onState" Function ], 
131+           " type" " text"  
132+           " validate" Function ], 
133+         }, 
134+       ], 
133135    }, 
134136  } , 
135137  Object {  
Original file line number Diff line number Diff line change @@ -122,14 +122,16 @@ Array [
122122  } , 
123123  Object {  
124124    " prompts" Object  { 
125-       " args" Object  { 
126-         " initial" " com.demo"  
127-         " message" " What is the desired Android package id?"  
128-         " name" " androidPackageId"  
129-         " onState" Function ], 
130-         " type" " text"  
131-         " validate" Function ], 
132-       }, 
125+       " args" Array  [ 
126+         Object  { 
127+           " initial" " com.demo"  
128+           " message" " What is the desired Android package id?"  
129+           " name" " androidPackageId"  
130+           " onState" Function ], 
131+           " type" " text"  
132+           " validate" Function ], 
133+         }, 
134+       ], 
133135    }, 
134136  } , 
135137  Object {  
Original file line number Diff line number Diff line change @@ -135,14 +135,16 @@ Array [
135135  } , 
136136  Object {  
137137    " prompts" Object  { 
138-       " args" Object  { 
139-         " initial" " com.demo"  
140-         " message" " What is the desired Android package id?"  
141-         " name" " androidPackageId"  
142-         " onState" Function ], 
143-         " type" " text"  
144-         " validate" Function ], 
145-       }, 
138+       " args" Array  [ 
139+         Object  { 
140+           " initial" " com.demo"  
141+           " message" " What is the desired Android package id?"  
142+           " name" " androidPackageId"  
143+           " onState" Function ], 
144+           " type" " text"  
145+           " validate" Function ], 
146+         }, 
147+       ], 
146148    }, 
147149  } , 
148150  Object {  
Original file line number Diff line number Diff line change @@ -135,14 +135,16 @@ Array [
135135  } , 
136136  Object {  
137137    " prompts" Object  { 
138-       " args" Object  { 
139-         " initial" " com.demo"  
140-         " message" " What is the desired Android package id?"  
141-         " name" " androidPackageId"  
142-         " onState" Function ], 
143-         " type" " text"  
144-         " validate" Function ], 
145-       }, 
138+       " args" Array  [ 
139+         Object  { 
140+           " initial" " com.demo"  
141+           " message" " What is the desired Android package id?"  
142+           " name" " androidPackageId"  
143+           " onState" Function ], 
144+           " type" " text"  
145+           " validate" Function ], 
146+         }, 
147+       ], 
146148    }, 
147149  } , 
148150  Object {  
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments