You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(ng-dev): centralize commit count logic in API merge strategy
The `pullRequestCommitCount` was being conditionally reassigned in multiple places within the GithubApiMergeStrategy. This duplicated logic and made it harder to follow.
This change refactors the logic to determine the commit count in a single location using a ternary operator, improving readability and maintainability.
0 commit comments