fix: remove useless type cast as any

Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
This commit is contained in:
Thomas Cardonne
2025-02-28 14:17:09 +01:00
parent 1326907d5e
commit 016e8f6485
@@ -164,7 +164,7 @@ export class GerritEntityProvider implements EntityProvider {
);
}
const gerritProjectsResponse = (await parseGerritJsonResponse(
response as any,
response,
)) as GerritProjectQueryResult;
const projects = Object.keys(gerritProjectsResponse);
@@ -215,7 +215,7 @@ export class GerritEntityProvider implements EntityProvider {
// Gerrit responds with something like `refs/heads/master`
const projectHeadResponse = (await parseGerritJsonResponse(
response as any,
response,
)) as string;
return {