Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
salemxd committed Apr 18, 2024
1 parent 8d6e159 commit 729915e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/identitiesInRepo/identitiesInRepoService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import * as github from '@actions/github';
import { Octokit } from '@octokit/rest';
import { GetResponseDataTypeFromEndpointMethod, OctokitResponse } from '@octokit/types';


export class IdentitiesInRepoService {
public static async setIdentitiesInRepoFindings(): Promise<void> {
try {
Expand All @@ -20,12 +19,13 @@ export class IdentitiesInRepoService {
>;

// https://www.npmjs.com/package/octokit#pagination
const iterator: AsyncIterableIterator<OctokitResponse<listCollaboratorsForRepoResponseDataType>> = octokit.paginate.iterator(octokit.repos.listCollaborators, {
owner: owner,
repo: repo,
per_page: 100,
affiliation: 'direct',
});
const iterator: AsyncIterableIterator<OctokitResponse<listCollaboratorsForRepoResponseDataType>> =
octokit.paginate.iterator(octokit.repos.listCollaborators, {
owner: owner,
repo: repo,
per_page: 100,
affiliation: 'direct',
});

let numberOfAdmins: number = 0;
let numberOfWriters: number = 0;
Expand Down

0 comments on commit 729915e

Please sign in to comment.