lib/sfn/command_module/stack.rb in sfn-0.4.8 vs lib/sfn/command_module/stack.rb in sfn-0.4.10
- old
+ new
@@ -113,10 +113,10 @@
*config.get(:parameter).map(&:to_a).flatten
]
end
if(config.get(:parameters))
config.set(:parameters,
- config.get(:parameters).merge(config[:parameter])
+ config.get(:parameters).merge(config.fetch(:parameter, Smash.new))
)
else
config.set(:parameters, config.fetch(:parameter, Smash.new))
end
stack.fetch('Parameters', {}).each do |k,v|