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 885b03f commit 493f26aCopy full SHA for 493f26a
packages/create-app/index.js
@@ -35,7 +35,7 @@ async function init() {
35
message: 'Project name:',
36
initial: 'slidev',
37
})
38
- targetDir = projectName
+ targetDir = projectName.trim()
39
}
40
const packageName = await getValidPackageName(targetDir)
41
const root = path.join(cwd, targetDir)
0 commit comments