Skip to content

Commit f745798

Browse files
committed
added optional field in string input
1 parent c245dc3 commit f745798

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cli-main/util.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ export let inputString = async function (userName: string,defaults:string,option
7575
if (stringpattern.test(value))passtest=true
7676
else message=`${userName} should have only alphanumeric values`
7777

78-
}
79-
78+
}
8079
}
8180
if(envpattern.test(userName)){
8281
let passtest

0 commit comments

Comments
 (0)