diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-15 14:31:45 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-15 14:31:45 +0300 |
commit | df91580cc400897c5bf69d5e496b2e4db2f75e4f (patch) | |
tree | 17f2da8c2c2628355e563cb29a4680ce4cc37e76 /lib/gitlab | |
parent | 7babc59e4713e53162ac028eb570b78988d3bd6c (diff) |
Do not support inverse variable pattern matching
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/ci/pipeline/expression/statement.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/ci/pipeline/expression/statement.rb b/lib/gitlab/ci/pipeline/expression/statement.rb index 8886cbae516..b36f1e0f865 100644 --- a/lib/gitlab/ci/pipeline/expression/statement.rb +++ b/lib/gitlab/ci/pipeline/expression/statement.rb @@ -12,8 +12,7 @@ module Gitlab %w[variable equals null], %w[string equals variable], %w[null equals variable], - %w[variable matches pattern], - %w[pattern matches variable] + %w[variable matches pattern] ].freeze def initialize(statement, variables = {}) |