Skip to content

Commit f5a5d7a

Browse files
committed
remove arrow function
1 parent 7e1ebf0 commit f5a5d7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cli/lib/sdks.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const questionGetEndpoint = [
88
name: "endpoint",
99
message: "Enter the endpoint of your {{ spec.title|caseUcfirst }} server",
1010
default: "http://localhost/v1",
11-
validate: async (value) => {
11+
async validate(value) {
1212
if(!value) {
1313
return 'Please provide valid endpoint';
1414
}

0 commit comments

Comments
 (0)