lib/bolt/pal/yaml_plan/transpiler.rb in bolt-1.25.0 vs lib/bolt/pal/yaml_plan/transpiler.rb in bolt-1.26.0
- old
+ new
@@ -35,11 +35,10 @@
plan_string << last
end
plan_string << ") {\n"
plan_object.steps&.each do |step|
- # This only needs the plan path for raising errors
- plan_string << step.transpile(@plan_path)
+ plan_string << step.transpile
end
plan_string << "\n return #{Bolt::Util.to_code(plan_object.return)}\n" if plan_object.return
plan_string << "}"
# We always print the plan, even if there's an error