Spaces:
Runtime error
Runtime error
Sync from GitHub via hub-sync
Browse files- src/repo_fetcher.py +2 -1
src/repo_fetcher.py
CHANGED
|
@@ -174,7 +174,8 @@ class RepoFetcher:
|
|
| 174 |
for file_path in root.rglob("*"):
|
| 175 |
if not file_path.is_file():
|
| 176 |
continue
|
| 177 |
-
|
|
|
|
| 178 |
continue
|
| 179 |
if file_path.name in IGNORED_FILENAMES:
|
| 180 |
continue
|
|
|
|
| 174 |
for file_path in root.rglob("*"):
|
| 175 |
if not file_path.is_file():
|
| 176 |
continue
|
| 177 |
+
relative_parts = file_path.relative_to(root).parts
|
| 178 |
+
if any(part in IGNORED_DIRS for part in relative_parts):
|
| 179 |
continue
|
| 180 |
if file_path.name in IGNORED_FILENAMES:
|
| 181 |
continue
|