2021-05-07 21:10:34 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-02-10 15:12:42 +00:00
|
|
|
class InProductGuidanceEnvironmentsWebideExperiment < ApplicationExperiment
|
2022-02-21 12:16:55 +00:00
|
|
|
control { false }
|
2021-05-07 21:10:34 +00:00
|
|
|
|
2022-02-21 12:16:55 +00:00
|
|
|
exclude :has_environments?
|
2021-05-07 21:10:34 +00:00
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def has_environments?
|
|
|
|
!context.project.environments.empty?
|
|
|
|
end
|
|
|
|
end
|