technophyle commited on
Commit
26349ea
·
verified ·
1 Parent(s): 35c1d2c

Sync from GitHub via hub-sync

Browse files
Files changed (1) hide show
  1. 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
- if any(part in IGNORED_DIRS for part in file_path.parts):
 
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