Enable consistent return eslint rule (#3065)

This commit is contained in:
Alexandr Garbuzov
2023-08-12 09:11:12 +03:00
committed by GitHub
parent c394ea30ef
commit 135176f073
3 changed files with 6 additions and 2 deletions
+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 };