diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-02-23 12:13:43 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-02-23 12:13:43 +0300 |
commit | 8c7374cafcfe77f880d45f32ff11b38d257f5373 (patch) | |
tree | e086920a91b6b8e65f460b7450e664062bfe4644 /lib/gitlab/ci/pipeline/expression/lexeme/string.rb | |
parent | 8517627410499486e2bb09d8a55ba6f0088d7503 (diff) |
Add operator / value types in pipeline expressions
Diffstat (limited to 'lib/gitlab/ci/pipeline/expression/lexeme/string.rb')
-rw-r--r-- | lib/gitlab/ci/pipeline/expression/lexeme/string.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/ci/pipeline/expression/lexeme/string.rb b/lib/gitlab/ci/pipeline/expression/lexeme/string.rb index 470a5a15cc1..6f77d443c3c 100644 --- a/lib/gitlab/ci/pipeline/expression/lexeme/string.rb +++ b/lib/gitlab/ci/pipeline/expression/lexeme/string.rb @@ -3,9 +3,8 @@ module Gitlab module Pipeline module Expression module Lexeme - class String < Lexeme::Base + class String < Lexeme::Value PATTERN = /"(?<string>.+?)"/.freeze - TYPE = :value def initialize(value) @value = value |