share/rbbt_commands/workflow/info in rbbt-util-5.20.5 vs share/rbbt_commands/workflow/info in rbbt-util-5.20.6
- old
+ new
@@ -123,11 +123,11 @@
inputs = step.info[:inputs]
deps = step.info[:dependencies].collect{|v| get_step v.last }
while deps.any? do
dep = deps.shift
- inputs = inputs.merge(dep.info[:inputs])
- deps.concat dep.info[:dependencies].collect{|v| get_step v.last }
+ inputs = inputs.merge(dep.info[:inputs] || {})
+ deps.concat (dep.info[:dependencies] || []).collect{|v| get_step v.last }
end
inputs.each do |input,value|
case value
when nil