lib/bolt/pal/yaml_plan/transpiler.rb in bolt-2.42.0 vs lib/bolt/pal/yaml_plan/transpiler.rb in bolt-2.44.0
- old
+ new
@@ -28,9 +28,10 @@
end.join("\n")
plan_string = String.new('')
plan_string << "# #{plan_object.description}\n" if plan_object.description
plan_string << "# WARNING: This is an autogenerated plan. It may not behave as expected.\n"
+ plan_string << "# @private #{plan_object.private}\n" unless plan_object.private.nil?
plan_string << "#{param_descriptions}\n" unless param_descriptions.empty?
plan_string << "plan #{plan_object.name}("
# Parameters are Bolt::PAL::YamlPlan::Parameter
plan_object.parameters&.each_with_index do |param, i|