We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e8c9952 + 9912525 commit 347f590Copy full SHA for 347f590
lib/bolt/pal.rb
@@ -329,7 +329,8 @@ def get_plan_info(plan_name)
329
raise Bolt::Error.unknown_plan(plan_name)
330
end
331
332
- mod = plan_sig.instance_variable_get(:@plan_func).loader.parent.path
+ # path may be a Pathname object, so make sure to stringify it
333
+ mod = plan_sig.instance_variable_get(:@plan_func).loader.parent.path.to_s
334
335
# If it's a Puppet language plan, use strings to extract data. The only
336
# way to tell is to check which filename exists in the module.
0 commit comments