fix: exclude .git directory from project structure generation
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 3m2s
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:
@@ -45,6 +45,11 @@ function generateTree(dir, prefix = '', isRoot = true) {
|
|||||||
items.forEach(item => {
|
items.forEach(item => {
|
||||||
const itemPath = path.join(dir, item);
|
const itemPath = path.join(dir, item);
|
||||||
|
|
||||||
|
// Explicitly skip .git directory
|
||||||
|
if (item === '.git') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Skip if ignored by git
|
// Skip if ignored by git
|
||||||
if (isGitIgnored(itemPath)) {
|
if (isGitIgnored(itemPath)) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user