Skip to content

Commit

Permalink
fix: auto-generated project name
Browse files Browse the repository at this point in the history
  • Loading branch information
omeraplak committed Nov 30, 2022
1 parent f1df727 commit ec31aae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "superplate-cli",
"version": "1.10.1",
"version": "1.10.2",
"description": "The frontend boilerplate with superpowers",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const cli = async (): Promise<void> => {
const [projectDir] = program.args;

const finalProjectDir =
projectDir ?? getRandomName().replace(/\s/g, "-").toLowerCase();
projectDir || getRandomName().replace(/\s/g, "-").toLowerCase();

/**
* get source path
Expand Down

0 comments on commit ec31aae

Please sign in to comment.