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. |
||
|---|---|---|
| .. | ||
| builders | ||
| flattener | ||
| installer | ||
| lib | ||
| md-assets | ||
| shared | ||
| upgraders | ||
| bmad-npx-wrapper.js | ||
| bump-all-versions.js | ||
| bump-expansion-version.js | ||
| cli.js | ||
| semantic-release-sync-installer.js | ||
| sync-installer-version.js | ||
| update-expansion-version.js | ||
| version-bump.js | ||
| yaml-format.js | ||