mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-05-20 20:24:00 +00:00
Enable consistent return eslint rule (#3065)
This commit is contained in:
committed by
GitHub
parent
c394ea30ef
commit
135176f073
@@ -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