Lowercase prompt id for built-in prompts

Signed-off-by: Min Kim <minkimcello@gmail.com>
This commit is contained in:
Min Kim
2024-12-21 17:04:42 -05:00
parent a25057c083
commit d9c653693c
+1 -1
View File
@@ -101,7 +101,7 @@ export async function promptOptions({
const answers = await inquirer.prompt(
prompts.map((prompt: ConfigurablePrompt) => {
if (typeof prompt === 'string') {
switch (prompt) {
switch (prompt.toLowerCase()) {
case 'id':
return pluginIdPrompt();
case 'moduleid':