lib/jets/stack.rb in jets-4.0.12 vs lib/jets/stack.rb in jets-5.0.0.beta1

- old
+ new

@@ -41,10 +41,10 @@ def functions stack = new # All the & because resources might be nil templates = stack.resources&.map(&:template)&.select do |t| attributes = t.values.first - attributes['Type'] == 'AWS::Lambda::Function' + attributes[:Type] == 'AWS::Lambda::Function' end templates ||= [] templates.map { |t| Function.new(t) } end