fix: remove redundant error handling for project root detection

This commit is contained in:
manjaroblack
2025-08-12 13:44:32 -05:00
committed by manjaroblack
parent e3899b2e3b
commit 0849cf73e1

View File

@@ -127,11 +127,6 @@ program
path.join(inputDir, "flattened-codebase.xml"),
);
}
} else {
console.error(
"Could not auto-detect a project root and no arguments were provided. Please specify -i/--input and -o/--output.\nRefer to the documentation in the [https://github.com/bmad-code-org/BMAD-METHOD/tree/main?tab=readme-ov-file#codebase-flattener-tool](https://github.com/bmad-code-org/BMAD-METHOD/tree/main?tab=readme-ov-file#codebase-flattener-tool) (ReadMe)",
);
process.exit(1);
}
// Ensure output directory exists