Commit 94195e2f authored by Gary Holtz's avatar Gary Holtz

Makes a small diff modification to see how pipelines react

parent b2f799c3
...@@ -21,7 +21,8 @@ module Gitlab ...@@ -21,7 +21,8 @@ module Gitlab
process_commits do |commit| process_commits do |commit|
validate_once(commit) do validate_once(commit) do
commit.raw_deltas.each do |diff| commit.raw_deltas.each do |diff|
file_paths << (diff.new_path || diff.old_path) file_paths << diff.new_path if diff.new_path
file_paths << diff.old_path if diff.old_path
validate_diff(diff) validate_diff(diff)
end end
......
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