File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import {
1313 getProjectName ,
1414 promptForAddOnOptions ,
1515 selectAddOns ,
16- selectGit ,
1716 selectDeployment ,
17+ selectGit ,
1818 selectPackageManager ,
1919 selectRouterType ,
2020 selectTailwind ,
@@ -43,7 +43,6 @@ export async function promptForCreateOptions(
4343
4444 options . framework = getFrameworkById ( cliOptions . framework || 'react-cra' ) !
4545
46- options . projectName = cliOptions . projectName || ( await getProjectName ( ) )
4746 // Validate project name
4847 if ( cliOptions . projectName ) {
4948 const { valid, error } = validateProjectName ( cliOptions . projectName )
@@ -55,6 +54,7 @@ export async function promptForCreateOptions(
5554 } else {
5655 options . projectName = await getProjectName ( )
5756 }
57+
5858 // Check if target directory is empty
5959 if (
6060 ! cliOptions . force &&
You can’t perform that action at this time.
0 commit comments