summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-12-20 15:12:25 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-12-20 15:12:25 +0000
commit068b3a417794ab8506b2e149301b3a60c01df078 (patch)
tree26ce51b45ae535a6fc47fb04cad8da42ec408a2f /scripts
parent62c78157be8fe8888787162293f13945a5fa5d3e (diff)
downloadgitlab-ce-068b3a417794ab8506b2e149301b3a60c01df078.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/used-feature-flags6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/used-feature-flags b/scripts/used-feature-flags
index 552adbfbd9f..89ea99c6984 100755
--- a/scripts/used-feature-flags
+++ b/scripts/used-feature-flags
@@ -3,7 +3,7 @@
require 'set'
require 'fileutils'
-require_relative 'lib/gitlab'
+require_relative '../lib/gitlab_edition'
class String
def red
@@ -28,7 +28,7 @@ flags_paths = [
]
# For EE additionally process `ee/` feature flags
-if Gitlab.ee?
+if GitlabEdition.ee?
flags_paths << 'ee/config/feature_flags/**/*.yml'
# Geo feature flags are constructed dynamically and there's no explicit checks in the codebase so we mark all
@@ -43,7 +43,7 @@ if Gitlab.ee?
end
# For JH additionally process `jh/` feature flags
-if Gitlab.jh?
+if GitlabEdition.jh?
flags_paths << 'jh/config/feature_flags/**/*.yml'
Dir.glob('jh/app/replicators/geo/*_replicator.rb').each_with_object(Set.new) do |path, memo|