We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b77d00 commit 1aae595Copy full SHA for 1aae595
packages/create-vite/src/index.ts
@@ -358,7 +358,7 @@ async function init() {
358
placeholder: defaultTargetDir,
359
})
360
if (prompts.isCancel(projectName)) return cancel()
361
- targetDir = formatTargetDir(projectName as string)
+ targetDir = formatTargetDir(projectName as string) || defaultTargetDir
362
}
363
364
// 2. Handle directory if exist and not empty
0 commit comments