BMAD-METHOD/tools/cli/installers/lib
Davor Racić 17017881fd fix: guard remaining unguarded prompts with skipPrompts for non-interactive mode
Add skipPrompts guards to 4 remaining unguarded interactive prompts in
installer.js that caused hangs in non-interactive mode (--yes flag):
- Module removal confirmation: preserves modules by default
- Update action selection: defaults to 'update'
- Custom module missing sources: keeps all modules
- Custom module delete confirmation: unreachable via early return

Additional robustness fixes:
- Defensive type-check before .trim() on prompt result (symbol guard)
- Console.log suppression scoped per-IDE instead of global try/finally
- process.exit flush via setImmediate for legacy v4 exit path
- JSDoc updated for new skipPrompts parameter

Follows established pattern from commit f967fdde (IDE skipPrompts guards).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 10:43:10 +01:00
..
core fix: guard remaining unguarded prompts with skipPrompts for non-interactive mode 2026-02-09 10:43:10 +01:00
custom refactor: replace module installer scripts with declarative directories config 2026-02-08 19:21:48 -06:00
ide fix: propagate skipPrompts flag to IDE collectConfiguration calls 2026-02-09 08:43:53 +01:00
modules fix: address code review findings from PR #1612 2026-02-09 09:09:59 +01:00
message-loader.js refactor: Complete @clack/prompts Migration & Installer Output Consolidation (#1586) 2026-02-08 00:40:13 -06:00