Skip to content

Commit 537e464

Browse files
nyqykknyqykk
and
nyqykk
authored
fix: placeholder should be lowercase (#41)
Co-authored-by: nyqykk <[email protected]>
1 parent 7a8e525 commit 537e464

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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}-project`,
198-
defaultValue: `${name}-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)