Thanks to visit codestin.com Credit goes to github.com
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 d96b3cb commit 313847dCopy full SHA for 313847d
index.ts
@@ -386,7 +386,7 @@ async function init() {
386
// so we still have to assign the default values here
387
const {
388
projectName,
389
- packageName = projectName ?? defaultProjectName,
+ packageName = projectName.trim() || defaultProjectName,
390
shouldOverwrite = argv.force as boolean,
391
needsJsx = argv.jsx as boolean,
392
needsTypeScript = (argv.ts || argv.typescript) as boolean,
0 commit comments