Skip to content

Commit

Permalink
Merge pull request #530 from puppetlabs/maint-opt_for_merge
Browse files Browse the repository at this point in the history
(maint) - Opt for merge
  • Loading branch information
GSPatton authored Jul 19, 2023
2 parents 9b627e8 + beeb79a commit 7222575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moduleroot/spec/spec_helper.rb.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ default_fact_files.each do |f|
next unless File.exist?(f) && File.readable?(f) && File.size?(f)

begin
default_facts.deep_merge!(YAML.safe_load(File.read(f), permitted_classes: [], permitted_symbols: [], aliases: true))
default_facts.merge!(YAML.safe_load(File.read(f), permitted_classes: [], permitted_symbols: [], aliases: true))
rescue StandardError => e
RSpec.configuration.reporter.message "WARNING: Unable to load #{f}: #{e}"
end
Expand Down

0 comments on commit 7222575

Please sign in to comment.