Skip to content

Commit db26932

Browse files
committed
fix
1 parent 030ffc6 commit db26932

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ export async function create({
371371
placeholder: `${name.toLowerCase()}-project`,
372372
defaultValue: `${name.toLowerCase()}-project`,
373373
validate(value) {
374-
if (value.length === 0) {
374+
if (value?.length === 0) {
375375
return 'Project name is required';
376376
}
377377
},

0 commit comments

Comments
 (0)