lib/sfn/command_module/stack.rb in sfn-1.1.0 vs lib/sfn/command_module/stack.rb in sfn-1.1.2

- old
+ new

@@ -121,10 +121,14 @@ else parameter_prefix = [] stack_parameters = sparkle.fetch('Parameters', Smash.new) end unless(stack_parameters.empty?) - ui.info "#{ui.color('Stack runtime parameters:', :bold)} - template: #{ui.color(sparkle.root_path.map(&:name).map(&:to_s).join(' > '), :green, :bold)}" + if(sparkle.is_a?(SparkleFormation)) + ui.info "#{ui.color('Stack runtime parameters:', :bold)} - template: #{ui.color(sparkle.root_path.map(&:name).map(&:to_s).join(' > '), :green, :bold)}" + else + ui.info ui.color('Stack runtime parameters:', :bold) + end if(config.get(:parameter).is_a?(Array)) config[:parameter] = Smash[ *config.get(:parameter).map(&:to_a).flatten ] end