gitlab-org--gitlab-foss/app/experiments/in_product_guidance_environ...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
244 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class InProductGuidanceEnvironmentsWebideExperiment < ApplicationExperiment
control { false }
exclude :has_environments?
private
def has_environments?
!context.project.environments.empty?
end
end