Skip to content

Commit c4d22a7

Browse files
author
nyqykk
committed
chore: change api
1 parent b0b7c1e commit c4d22a7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ export async function create({
194194
checkCancel<string>(
195195
await text({
196196
message: 'Project name or path',
197-
placeholder: `${name.toLocaleLowerCase()}-project`,
198-
defaultValue: `${name.toLocaleLowerCase()}-project`,
197+
placeholder: `${name.toLowerCase()}-project`,
198+
defaultValue: `${name.toLowerCase()}-project`,
199199
validate(value) {
200200
if (value.length === 0) {
201201
return 'Project name is required';

0 commit comments

Comments
 (0)