Fix Style/CombinableLoops offenses

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.

What does this MR do and why?

Fixes Style/CombinableLoops RuboCop offenses

Related to #239356

Closes !164606 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

  1. bundle exec rubocop
Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading