Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-03 09:07:06 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-03 09:07:06 +0300
commita3759fc2e1f8aa1493840ab0d4ebd4a2e5f495aa (patch)
treefb8f046819669955006fe21043bfcc13dbe40209 /tooling
parent336483a4c150a112e83d95538218c59d9a952768 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'tooling')
-rw-r--r--tooling/danger/specs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tooling/danger/specs.rb b/tooling/danger/specs.rb
index c7baf920314..32e8e404520 100644
--- a/tooling/danger/specs.rb
+++ b/tooling/danger/specs.rb
@@ -132,7 +132,7 @@ module Tooling
def find_line_number(file_lines, searched_line, exclude_indexes: [])
_, index = file_lines.each_with_index.find do |file_line, index|
- file_line == searched_line && !exclude_indexes.include?(index)
+ file_line == searched_line && exclude_indexes.exclude?(index)
end
index