Skip to content

Commit f58c5da

Browse files
committed
fix: always include manual in interactive IDE selection list
1 parent 51661b2 commit f58c5da

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/b2c-cli/src/commands/setup/skills.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,15 @@ export default class SetupSkills extends BaseCommand<typeof SetupSkills> {
224224
return {};
225225
}
226226

227+
// Always include 'manual' as an option in the IDE list
228+
const ideChoices: IdeType[] = detectedIdes.includes('manual') ? detectedIdes : [...detectedIdes, 'manual'];
229+
227230
// Non-interactive: use all detected IDEs; Interactive: let user select
228231
targetIdes = this.flags.force
229232
? detectedIdes
230233
: await checkbox({
231234
message: t('commands.setup.skills.selectIdes', 'Select target IDEs:'),
232-
choices: detectedIdes.map((ide) => ({
235+
choices: ideChoices.map((ide) => ({
233236
name: getIdeDisplayName(ide),
234237
value: ide,
235238
})),

0 commit comments

Comments
 (0)