forked from mirrored/github-readme-stats
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