Skip to content
Snippets Groups Projects
Commit 1bec3a78 authored by Stan Hu's avatar Stan Hu Committed by 🤖 GitLab Bot 🤖
Browse files

Merge branch 'ci-variables-complex-expression-default-disabled' into 'master'

disable CI variable complex expressions by default

See merge request gitlab-org/gitlab-ce!29576

(cherry picked from commit 63e56515)

cbb05dca Disable CI variable complex expressions by default
parent 4c7e4c1d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -36,7 +36,7 @@ module Gitlab
private
 
def ci_variables_complex_expressions?
Feature.enabled?(:ci_variables_complex_expressions, default_enabled: true)
Feature.enabled?(:ci_variables_complex_expressions)
end
end
end
Loading
Loading
Loading
Loading
@@ -34,7 +34,7 @@ module Gitlab
end
 
def self.eager_matching_with_escape_characters?
Feature.enabled?(:ci_variables_complex_expressions, default_enabled: true)
Feature.enabled?(:ci_variables_complex_expressions)
end
end
end
Loading
Loading
Loading
Loading
@@ -73,7 +73,7 @@ module Gitlab
end
 
def available_lexemes
Feature.enabled?(:ci_variables_complex_expressions, default_enabled: true) ? NEW_LEXEMES : LEXEMES
Feature.enabled?(:ci_variables_complex_expressions) ? NEW_LEXEMES : LEXEMES
end
end
end
Loading
Loading
Loading
Loading
@@ -13,7 +13,7 @@ module Gitlab
end
 
def tree
if Feature.enabled?(:ci_variables_complex_expressions, default_enabled: true)
if Feature.enabled?(:ci_variables_complex_expressions)
rpn_parse_tree
else
reverse_descent_parse_tree
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment