提交 b85d4969 编写于 作者: G Grzegorz Bizon

Return compound value if CI config node is composite

上级 7759242a
......@@ -47,7 +47,12 @@ module Gitlab
end
def value
@config
if leaf?
@config
else
defined = @nodes.select { |_key, value| value.defined? }
Hash[(defined).map { |key, node| [key, node.value] }]
end
end
def defined?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册