Commit 78fcb83f authored by Kerri Miller's avatar Kerri Miller

Apply 1 suggestion(s) to 1 file(s)

parent 20896b28
......@@ -114,7 +114,7 @@ module MergeRequests
def track_title_and_desc_edits(merge_request, changed_fields)
tracked_fields = %w(title description)
return unless changed_fields.any? { |i| tracked_fields.include? i }
return unless changed_fields.any? { |field| tracked_fields.include?(field) }
tracked_fields.each do |action|
next unless changed_fields.include?(action)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment