Skip to content

Commit 96197a9

Browse files
feat: display modules only (#22)
1 parent eed864b commit 96197a9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/lib/github.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,9 @@ export class GitHubAPI {
207207
}
208208

209209
const repos = await response.json();
210-
const filteredRepos = repos.filter(this.shouldIncludeRepo);
210+
const filteredRepos = repos.filter(
211+
(repo: any) => this.shouldIncludeRepo(repo) && repo.name.toLowerCase().includes('module')
212+
);
211213

212214
const modulesWithContributors = await Promise.all(
213215
filteredRepos.map(async (repo: any) => {

0 commit comments

Comments
 (0)