lib/bolt/applicator.rb in bolt-2.15.0 vs lib/bolt/applicator.rb in bolt-2.16.0
- old
+ new
@@ -194,13 +194,14 @@
rich_data: true,
symbol_as_string: true,
type_by_reference: true,
local_reference: true)
+ bolt_project = @project if @project&.name
scope = {
code_ast: ast,
modulepath: @modulepath,
- project: @project.to_h,
+ project: bolt_project.to_h,
pdb_config: @pdb_client.config.to_hash,
hiera_config: @hiera_config,
plan_vars: plan_vars,
# This data isn't available on the target config hash
config: @inventory.transport_data_get