mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-07-16 14:16:51 +00:00
Enable consistent return eslint rule (#3065)
This commit is contained in:
@@ -109,6 +109,8 @@ const fetchRepo = async (username, reponame) => {
|
||||
starCount: data.organization.repository.stargazers.totalCount,
|
||||
};
|
||||
}
|
||||
|
||||
throw new Error("Unexpected behavior");
|
||||
};
|
||||
|
||||
export { fetchRepo };
|
||||
|
||||
Reference in New Issue
Block a user