Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/ci/config/external/mapper.rb')
-rw-r--r--lib/gitlab/ci/config/external/mapper.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/gitlab/ci/config/external/mapper.rb b/lib/gitlab/ci/config/external/mapper.rb
index 97e4922b2a1..95f1a842c50 100644
--- a/lib/gitlab/ci/config/external/mapper.rb
+++ b/lib/gitlab/ci/config/external/mapper.rb
@@ -58,9 +58,6 @@ module Gitlab
end
def verify_rules(location)
- # Behaves like there is no `rules`
- return location unless ::Feature.enabled?(:ci_include_rules, context.project, default_enabled: :yaml)
-
return unless Rules.new(location[:rules]).evaluate(context).pass?
location