Enable consistent return eslint rule (#3065)

This commit is contained in:
Alexandr Garbuzov authored and GitHub committed 2023-08-12 08:11:12 +02:00
1 parent c394ea30ef
commit 135176f073
3 files changed
+6 -2

No files matched your search

+2
View File
@@ -109,6 +109,8 @@ const fetchRepo = async (username, reponame) => {
starCount: data.organization.repository.stargazers.totalCount,
};
}
throw new Error("Unexpected behavior");
};
export { fetchRepo };