Update index.ts

This commit is contained in:
Luke Hagar
2024-04-08 14:13:11 -07:00
committed by GitHub
parent f174f9100f
commit 80d54e04fc

View File

@@ -375,7 +375,7 @@ try {
}
const repoContribStats = stats.find(
(contributor) => contributor.author?.login === username
(contributor) => contributor?.author?.login === username
);
if (repoContribStats?.weeks)