File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,10 @@ program
1919 . command ( "init <projectName>" )
2020 // .command("init <projectName>", "create a Vue Native project")
2121 . option ( "--no-expo" , "use react-native-cli instead of expo-cli" )
22+ . option ( "--no-crna" , "use react-native-cli instead of expo-cli" )
2223 . action ( function ( projectName , cmd ) {
2324 let isCrnaProject = false ;
24- if ( cmd . expo ) {
25+ if ( cmd . expo && cmd . crna ) {
2526 isCrnaProject = true ;
2627 const isCrnaInstalledPackageVersion = validationObjects . getCrnaVersionIfAvailable ( ) ;
2728 // check if Create-react-native-app dependency is present or not
@@ -64,7 +65,7 @@ program
6465 cmd
6566 ) ;
6667 } else {
67- init ( projectName , cmd , cmd . expo ) ;
68+ init ( projectName , cmd , isCrnaProject ) ;
6869 }
6970 } ) ;
7071
You can’t perform that action at this time.
0 commit comments