Commit 747d2106 authored by Sanad Liaquat's avatar Sanad Liaquat

Skip deleted files when checking for e2e only spec files

parent d3f72cc9
......@@ -48,7 +48,7 @@ class FindChanges # rubocop:disable Gitlab/NamespacedClass
mr_changes = Gitlab.merge_request_changes(mr_project_path, mr_iid)
mr_changes.changes.map { |change| change['new_path'] }
mr_changes.changes.map { |change| change['new_path'] unless change['deleted_file'] }.compact
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