Commit 49cad30d authored by Grzegorz Bizon's avatar Grzegorz Bizon

Add a null token to pipelines expressions

parent fa2a5468
module Gitlab
module Ci
module Pipeline
module Expression
class Null < Expression::Token
PATTERN = /null/.freeze
def initialize(value)
@value = value
end
def evaluate(**_)
nil
end
end
end
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment