Skip to content

Commit

Permalink
Fix --fetch-directkly
Browse files Browse the repository at this point in the history
  • Loading branch information
C2Coder committed Apr 21, 2024
1 parent 87488cf commit cd4d7ad
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions projectIndexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ def generate(github_token: str, fetch_directly: bool, input_repos: str, input_re
repo.full_name: fetch_data.fetch_readme(repo)
for repo in repos
}

contributors ={
repo.full_name:
[[contributor.html_url, contributor.avatar_url, contributor.name, contributor.login, contributor.contributions,] for contributor in fetch_data.fetch_contributors(repo)] for repo in repos
}

else:
repos = fetch_data.load_repo(input_repos)
readme = fetch_data.load_readme(input_readme)
Expand Down

0 comments on commit cd4d7ad

Please sign in to comment.