Skip to content

Commit

Permalink
(maint) - Opt for merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbreen28 committed Jul 19, 2023
1 parent 9b627e8 commit beeb79a
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 beeb79a

Please sign in to comment.