diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2022-03-21 23:36:16 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2022-03-21 23:36:16 -0700 |
commit | 948e10cd9e1045a25e420551005397d67935202c (patch) | |
tree | 2a82e43c2e006367acf611bf92db42a2ded6b466 | |
parent | 119c4089b92e8544a3048161bca390e2d7027680 (diff) | |
download | chef-948e10cd9e1045a25e420551005397d67935202c.tar.gz |
typo
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/resource/inspec_waiver_file_entry.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/inspec_waiver_file_entry.rb b/lib/chef/resource/inspec_waiver_file_entry.rb index 69849fa044..0fa5617a4b 100644 --- a/lib/chef/resource/inspec_waiver_file_entry.rb +++ b/lib/chef/resource/inspec_waiver_file_entry.rb @@ -136,7 +136,7 @@ class Chef def load_waiver_file_to_hash(file_name) if %r{(/|C:\\).*(.yaml|.yml)}i.match?(file_name) if ::File.exist?(file_name) - hash = ::YAML.safe.load_file(file_name, permitted_classes: [Date]) + hash = ::YAML.safe_load_file(file_name, permitted_classes: [Date]) if hash == false || hash.nil? || hash == "" {} else |