Skip to content
Snippets Groups Projects
Commit 6f6a04a9 authored by Jonathan Maw's avatar Jonathan Maw Committed by Tristan Van Berkom
Browse files

Pipeline: Skip except_elements logic if no elements to except

parent fc3cff95
No related branches found
No related tags found
Loading
Pipeline #28407936 passed
......@@ -235,6 +235,9 @@ class Pipeline():
# exceptions removed
#
def except_elements(self, targets, elements, except_targets):
if not except_targets:
return elements
targeted = list(self.dependencies(targets, Scope.ALL))
visited = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment