diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-01 09:12:25 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-01 09:12:25 +0300 |
commit | 2bfa43cf3a8b0bb25a85066ff48db58f068bc493 (patch) | |
tree | 7ba5f89b4953742f025f5c8e0911cd1f964bb2e5 /scripts/perf | |
parent | 188f99dcc3de4678b308851d1cd8d26a200393cd (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/perf')
-rwxr-xr-x | scripts/perf/query_limiting_report.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/perf/query_limiting_report.rb b/scripts/perf/query_limiting_report.rb index 2f263eeb567..89abc1b301b 100755 --- a/scripts/perf/query_limiting_report.rb +++ b/scripts/perf/query_limiting_report.rb @@ -124,7 +124,7 @@ class QueryLimitingReport file_lines.each_index do |index| line = file_lines[index] - if line =~ /#{CODE_LINES_SEARCH_STRING}/ + if line =~ /#{CODE_LINES_SEARCH_STRING}/o issue_iid = line.slice(%r{issues/(\d+)\D}, 1) line_number = index + 1 code_line = { |