(
public groupName: string,
config: PullApproveGroupConfig,
readonly precedingGroups: PullApproveGroup[] = [],
)
| 46 | readonly reviewers: GroupReviewers; |
| 47 | |
| 48 | constructor( |
| 49 | public groupName: string, |
| 50 | config: PullApproveGroupConfig, |
| 51 | readonly precedingGroups: PullApproveGroup[] = [], |
| 52 | ) { |
| 53 | this._captureConditions(config); |
| 54 | this.reviewers = config.reviewers ?? {users: [], teams: []}; |
| 55 | } |
| 56 | |
| 57 | private _captureConditions(config: PullApproveGroupConfig) { |
| 58 | if (config.conditions) { |
nothing calls this directly
no test coverage detected