BMAD-METHOD/tools/cli/installers
Serhii 63894c9891
fix: add radix parameter to parseInt() calls
Add explicit radix=10 to parseInt() calls and NaN validation to prevent
unexpected hex parsing and invalid config values.

Changes:
- Line 52: Add radix and NaN check in input validation
- Line 189-192: Add radix and NaN fallback for config parsing

Fixes potential issues:
- Hex input (0x10) now rejected instead of parsed as 16
- Invalid strings return default value instead of NaN→null

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 06:22:56 +02:00
..
lib fix: add radix parameter to parseInt() calls 2025-11-05 06:22:56 +02:00