Skip to content

Commit

Permalink
Merge pull request #38 from Omegapoint/feature/FixedBranchprotectionZero
Browse files Browse the repository at this point in the history
refactor project
  • Loading branch information
jonathanbokvad authored Oct 3, 2023
2 parents 1e9c032 + 9ab3298 commit 6a376f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/branchprotection/BranchProtectionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export class BranchProtectionService {
}

let numberOfReviewers: number = 0;

if (
response.data.enforce_admins?.enabled === true &&
response.data.required_pull_request_reviews?.required_approving_review_count
Expand Down

0 comments on commit 6a376f9

Please sign in to comment.