Define the repo outside the if clause
What does this MR do and why?
Define the repo
outside the if clause to appease rubocop
This was found in !4013 (comment 1454374545) where rubocop was update to a newer version (this MR has the old one).
Verify that this works
Check the "Edit this page" link in the Help and feedback section to point to the right doc. Some examples:
- GitLab Docs ("View page source" at the footer): https://axil-fix-edit-lib.docs.gitlab-review.app/
- GitLab: https://axil-fix-edit-lib.docs.gitlab-review.app/ee/
- Omnibus: https://axil-fix-edit-lib.docs.gitlab-review.app/omnibus/
- Charts: https://axil-fix-edit-lib.docs.gitlab-review.app/charts/
- Runner: https://axil-fix-edit-lib.docs.gitlab-review.app/runner/
- Operator: https://axil-fix-edit-lib.docs.gitlab-review.app/operator/
Edited by Achilleas Pipinellis