Skip to content

Commit 4bc2028

Browse files
undo addition of always-empty stats
1 parent a23de22 commit 4bc2028

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

data/api/github.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ export const getCommits = memoize(async (owner: string, repo: string) =>
8181
date: commit.commit.committer?.date,
8282
},
8383
},
84-
stats: commit.stats,
8584
}),
8685
),
8786
);

data/gather/repos.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ export const getRepos = async (coreProjects: string[]) => {
150150
pullRequestTimeOpen: getOpenTime(repo.pullRequests),
151151
commits: repo.commits.map((commit) => ({
152152
date: commit.commit?.committer?.date ?? "",
153-
lines: commit.stats?.total ?? 0,
154153
})),
155154
contributors: repo.contributors.map((contributor) => ({
156155
name: contributor.login ?? contributor.name ?? "",

0 commit comments

Comments
 (0)