BMAD-METHOD/tools/cli/installers/lib/core
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
..
config-collector.js refactor: replace module installer scripts with declarative directories config 2026-02-08 19:21:48 -06:00
custom-module-cache.js default accepted for installer quesitons 2025-12-15 12:55:57 +08:00
dependency-resolver.js refactor: Complete @clack/prompts Migration & Installer Output Consolidation (#1586) 2026-02-08 00:40:13 -06:00
detector.js v4 detection cleanup 2025-12-27 20:31:12 +08:00
ide-config-manager.js default accepted for installer quesitons 2025-12-15 12:55:57 +08:00
installer.js fix: guard remaining unguarded prompts with skipPrompts for non-interactive mode 2026-02-09 10:43:10 +01:00
manifest-generator.js trivariate workflows added 2026-02-04 21:34:47 -06:00
manifest.js fix custom module instalation 2026-01-28 22:55:54 -08:00