Skip to content

Commit

Permalink
fix: inquirer select result error
Browse files Browse the repository at this point in the history
  • Loading branch information
imba97 committed Oct 29, 2024
1 parent a17fa85 commit 04c16aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ if (!key || typeof key !== 'string') {
return
}

const { index } = await inquirer.select(
const index = await inquirer.select(
'Which handler do you want to run?',
matchedHandlers.map(
({ description, packageInfo }) => `[${packageInfo.name.replace(/^@?initx-plugin[-/]/, '')}] ${description}`
Expand Down

0 comments on commit 04c16aa

Please sign in to comment.