Skip to content

fix(create-vite): targetDir is empty fallback defaultTargetDir#20199

Merged
bluwy merged 1 commit into
vitejs:mainfrom
btea:fix/create-vite-targetDir-should-not-be-empty-string
Jun 12, 2025
Merged

fix(create-vite): targetDir is empty fallback defaultTargetDir#20199
bluwy merged 1 commit into
vitejs:mainfrom
btea:fix/create-vite-targetDir-should-not-be-empty-string

Conversation

@btea
Copy link
Copy Markdown
Contributor

@btea btea commented Jun 12, 2025

Description

When projectName is a space, targetDir is an empty string.

const projectName = await prompts.text({

@bluwy bluwy merged commit 1aae595 into vitejs:main Jun 12, 2025
15 checks passed
@btea btea deleted the fix/create-vite-targetDir-should-not-be-empty-string branch June 12, 2025 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants