fix: remove useless type cast as any
Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user