We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f9b025 commit 9f09a3eCopy full SHA for 9f09a3e
src/utilities/cliUtil.ts
@@ -95,7 +95,7 @@ export async function inputString(
95
optional: boolean,
96
message = ""
97
) {
98
- const takeInput = await inquirer.prompt({
+ const takeInput = await inquirer.prompt([{
99
type: "input",
100
name,
101
message,
@@ -108,7 +108,8 @@ export async function inputString(
108
return optional || stringpattern.test(value) || `${message} should have only alphanumeric values`;
109
}
110
},
111
- });
+ }
112
+ ]);
113
114
return { ...takeInput };
115
0 commit comments