Skip to content

Commit

Permalink
fix: make site suggestion flow consistent (#4185)
Browse files Browse the repository at this point in the history
  • Loading branch information
tinfoil-knight authored Feb 8, 2022
1 parent b6345b7 commit fbd9156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/sites/sites-create.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const getSiteNameInput = async (name, user, api) => {
validate: (input) => /^[a-zA-Z\d-]+$/.test(input) || 'Only alphanumeric characters and hyphens are allowed',
},
])
name = nameInput
name = nameInput || siteSuggestion
}

return { name, siteSuggestion }
Expand Down

1 comment on commit fbd9156

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

Package size: 377 MB

Please sign in to comment.