Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
milankomaj committed Aug 1, 2024
1 parent 9b43667 commit 76fb21a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ class GithubUser {
const contributorsResults = await Promise.all(contributorsPromises);
octokit.log.debug("✅ fetchAllcontributors.status:", (contributorsResults.flatMap(element => element.status)))
const contributors = contributorsResults.flatMap(result => result.data);
octokit.log.debug("✅ contributors hasOwn:login :", Object.entries(contributors).filter(element => Object.values(element.author)));
octokit.log.debug("✅ contributors hasOwn:login :", Object.entries(contributors).filter(element => element.flatMap(element => element.author)));
const authenticate = (element => element.author ? element.author.login === username : '')
const contribU = Object.values(contributors).filter(authenticate)
// octokit.log.debug("✅ contribU counts:", (contribU.flatMap((counts) => counts.total)).reduce((a, b) => a + b, 0))
Expand Down

0 comments on commit 76fb21a

Please sign in to comment.