BMAD-METHOD/tools/flattener
Ryan Choi 25e066b704 Fix flattener argument parsing logic bug
The flattener tool had inverted logic that would error when arguments WERE provided instead of when they weren't. This fix removes the erroneous else block that was causing the command to fail with 'Could not auto-detect a project root and no arguments were provided' even when -i/--input and -o/--output were explicitly provided.

The bug was in the else clause at line 130-135 which should only execute when noPathArgs is true (i.e., no arguments provided), but was executing when arguments WERE provided due to the inverted logic.
2025-08-11 08:59:44 -05:00
..
aggregate.js feat: modularize flattener tool into separate components with improved project root detection (#417) 2025-08-09 15:33:23 -05:00
binary.js feat: modularize flattener tool into separate components with improved project root detection (#417) 2025-08-09 15:33:23 -05:00
discovery.js feat: modularize flattener tool into separate components with improved project root detection (#417) 2025-08-09 15:33:23 -05:00
files.js feat: modularize flattener tool into separate components with improved project root detection (#417) 2025-08-09 15:33:23 -05:00
ignoreRules.js feat: modularize flattener tool into separate components with improved project root detection (#417) 2025-08-09 15:33:23 -05:00
main.js Fix flattener argument parsing logic bug 2025-08-11 08:59:44 -05:00
projectRoot.js feat: modularize flattener tool into separate components with improved project root detection (#417) 2025-08-09 15:33:23 -05:00
prompts.js feat: modularize flattener tool into separate components with improved project root detection (#417) 2025-08-09 15:33:23 -05:00
stats.js feat: modularize flattener tool into separate components with improved project root detection (#417) 2025-08-09 15:33:23 -05:00
xml.js feat: modularize flattener tool into separate components with improved project root detection (#417) 2025-08-09 15:33:23 -05:00