BMAD-METHOD/tools
Nikita Levyankov e9c0aafad9 fix: wrap string profile values in arrays for consistency
The ternary operators WERE needed after all! Profile values can be:
- Arrays: ['dev', 'architect', 'pm']
- Strings: 'all' (special keyword)

Downstream code expects arrays:
- filterWorkflows() checks selectedWorkflows.includes('all')
- filterAgents() checks selectedAgents.includes('all')
- separateModifiers() iterates with for-of loop

Without wrapping strings in arrays:
- 'all' → stays as string → includes() doesn't work
- WITH fix: 'all' → becomes ['all'] → includes('all') works ✓

This fixes the profile workflow:
1. Profile defines: workflows: 'all'
2. Parser wraps: normalized.workflows = ['all']
3. Filter checks: selectedWorkflows.includes('all') → true ✓

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-18 12:36:30 +02:00
..
cli fix: wrap string profile values in arrays for consistency 2025-12-18 12:36:30 +02:00
flattener folder rename from .bmad to _bmad 2025-12-13 16:22:34 +08:00
lib folder rename from .bmad to _bmad 2025-12-13 16:22:34 +08:00
maintainer feat: add Raven's Verdict PR review tool (#1054) 2025-12-07 14:13:33 -06:00
schema installer updates working with basic flow 2025-12-06 12:53:43 -06:00
bmad-npx-wrapper.js fix: preserve user's cwd when running via npx 2025-10-29 09:31:38 -05:00
format-workflow-md.js check alignment 2025-10-22 12:36:39 -05:00
migrate-custom-module-paths.js _cfg -> _config 2025-12-13 19:41:09 +08:00
platform-codes.yaml feat: Adding support for Rovo Dev (#975) 2025-11-26 09:05:04 -06:00
validate-agent-schema.js we only need one yaml lib 2025-12-13 18:35:07 +08:00
validate-bundles.js feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00
validate-svg-changes.sh fix(bmm): remove stale validate-prd references (fixes #1030) (#1038) 2025-12-05 21:35:46 -06:00