Skip to content

Fix a Ruby2 RuboCop offense

Rémy Coutable requested to merge fix-ruby-2-rubocop into master

What does this MR do and why?

The ruby2 branch is failing because of this, see https://gitlab.com/gitlab-org/gitlab/-/jobs/3664317986.

The regex was introduced by !109887 (diffs).

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Leitzen

Merge request reports