diff options
author | Jacob Zaval <jazava@microsoft.com> | 2022-03-10 10:59:58 -0800 |
---|---|---|
committer | Jacob Zaval <jazava@microsoft.com> | 2022-03-10 10:59:58 -0800 |
commit | f932770f33d1f75e625da7375ab8732e43fdbcd6 (patch) | |
tree | 2d1d9c675a7b7e33260bf9517e62b3e95bc9e697 | |
parent | c1d4bd1028be7c936b092239e593a93e2ffd7ded (diff) | |
download | chef-f932770f33d1f75e625da7375ab8732e43fdbcd6.tar.gz |
adding parens to `content` arg
Signed-off-by: Jacob Zaval <jazava@microsoft.com>
-rw-r--r-- | lib/chef/resource/plist.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/resource/plist.rb b/lib/chef/resource/plist.rb index 2d808452cd..536b848eed 100644 --- a/lib/chef/resource/plist.rb +++ b/lib/chef/resource/plist.rb @@ -85,8 +85,7 @@ class Chef converge_if_changed :path do converge_by "create new plist: '#{new_resource.path}'" do file new_resource.path do - empty_plist = {}.to_plist - content empty_plist + content({}.to_plist) owner new_resource.owner group new_resource.group mode new_resource.mode if property_is_set?(:mode) |