fix: exclude .git directory from project structure generation
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 3m2s

- Updated generate-project-tree.js to explicitly skip .git directory
- Regenerated project-structure.txt without .git contents
This commit is contained in:
Refactoring Agent
2026-04-29 13:12:23 +02:00
parent 454195cdfb
commit 3691aa4acc
2 changed files with 5 additions and 1283 deletions
+5
View File
@@ -45,6 +45,11 @@ function generateTree(dir, prefix = '', isRoot = true) {
items.forEach(item => {
const itemPath = path.join(dir, item);
// Explicitly skip .git directory
if (item === '.git') {
return;
}
// Skip if ignored by git
if (isGitIgnored(itemPath)) {
return;
File diff suppressed because it is too large Load Diff