lib/bolt/pal/yaml_plan/transpiler.rb in bolt-3.3.0 vs lib/bolt/pal/yaml_plan/transpiler.rb in bolt-3.4.0

- old
+ new

@@ -12,11 +12,11 @@ def initialize(msg, plan_path) super(msg, 'bolt/convert-error', { "plan_path" => plan_path }) end end - def transpile(relative_path) - @plan_path = File.expand_path(relative_path) + def transpile(plan_path) + @plan_path = plan_path @modulename = Bolt::Util.module_name(@plan_path) @filename = @plan_path.split(File::SEPARATOR)[-1] validate_path plan_object = parse_plan