diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-07-14 21:27:06 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-07-20 11:45:27 -0700 |
commit | 01a9b9aa50f7f2533ba4720c8b5360911128df63 (patch) | |
tree | 2dd67958a1ced739160757067be2fda5fbaa9af4 | |
parent | 4d06b6dd29be5186dcd12b25956e3271811d600d (diff) | |
download | chef-01a9b9aa50f7f2533ba4720c8b5360911128df63.tar.gz |
Update comment to reflect actual format
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/macos_userdefaults.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/macos_userdefaults.rb b/lib/chef/resource/macos_userdefaults.rb index ffa5404b7a..b999464e4e 100644 --- a/lib/chef/resource/macos_userdefaults.rb +++ b/lib/chef/resource/macos_userdefaults.rb @@ -176,7 +176,7 @@ class Chef value = case type when "dict" - # creates an array of Key1 Value1 Key2 Value2... + # creates an array of quoted values ["'Key1'", "'Value1'", "'Key2'", "'Value2'" ...] value.flatten.map { |x| "'#{x}'" } when "array" value.map { |x| "'#{x}'" } |