Skip to content

Commit

Permalink
fix: correctly set the package name value
Browse files Browse the repository at this point in the history
  • Loading branch information
btea committed Feb 25, 2025
1 parent 8208ca2 commit b712327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ async function init() {
// so we still have to assign the default values here
const {
projectName,
packageName = projectName ?? defaultProjectName,
packageName = projectName.trim() || defaultProjectName,
shouldOverwrite = argv.force as boolean,
needsJsx = argv.jsx as boolean,
needsTypeScript = (argv.ts || argv.typescript) as boolean,
Expand Down

0 comments on commit b712327

Please sign in to comment.