summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/build/rules/rule/clause/exists.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/ci/build/rules/rule/clause/exists.rb')
-rw-r--r--lib/gitlab/ci/build/rules/rule/clause/exists.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/build/rules/rule/clause/exists.rb b/lib/gitlab/ci/build/rules/rule/clause/exists.rb
index 62f8371283f..85e77438f51 100644
--- a/lib/gitlab/ci/build/rules/rule/clause/exists.rb
+++ b/lib/gitlab/ci/build/rules/rule/clause/exists.rb
@@ -15,7 +15,7 @@ module Gitlab
@exact_globs, @pattern_globs = globs.partition(&method(:exact_glob?))
end
- def satisfied_by?(pipeline, seed)
+ def satisfied_by?(pipeline, context)
paths = worktree_paths(pipeline)
exact_matches?(paths) || pattern_matches?(paths)