Commit a2a7fc1f authored by Shinya Maeda's avatar Shinya Maeda

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

parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment