提交 a2a7fc1f 编写于 作者: S Shinya Maeda

Remove is_a?(Hash) from unless params[:variables] in create_pipeline_variables

上级 445f2135
......@@ -32,7 +32,7 @@ module Ci
end
def create_pipeline_variables!(pipeline)
return unless params[:variables].is_a?(Hash)
return unless params[:variables]
variables = params[:variables].map do |key, value|
{ key: key, value: value }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册