summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-05-01 13:58:47 -0700
committerTim Smith <tsmith84@gmail.com>2020-05-01 13:58:47 -0700
commite847d166b7baccd66b0b88762e57a33256cf918d (patch)
tree9d236953025e67b0c328c908e282edc6e869db22 /tasks
parenta161b2b84669e343ed9004811496f401895344b9 (diff)
downloadchef-e847d166b7baccd66b0b88762e57a33256cf918d.tar.gz
Chefstyle fixes
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks')
-rwxr-xr-xtasks/docs.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb
index b27f469532..7e4c7082fa 100755
--- a/tasks/docs.rb
+++ b/tasks/docs.rb
@@ -58,7 +58,7 @@ namespace :docs_site do
prop_list = [
"`#{name}` is the resource.",
"`name` is the name given to the resource block.",
- "`action` identifies which steps Chef Infra Client will take to bring the node into the desired state."
+ "`action` identifies which steps Chef Infra Client will take to bring the node into the desired state.",
]
# handle the case where we have no properties
@@ -184,7 +184,7 @@ namespace :docs_site do
values["required"] = property["required"]
values["default_value"] = default_val unless default_val.nil?
values["new_in"] = property["introduced"] unless property["introduced"].nil?
- values["allowed_values"] = property["equal_to"].join(', ') unless property["equal_to"].empty?
+ values["allowed_values"] = property["equal_to"].join(", ") unless property["equal_to"].empty?
values["description_list"] = [{ "markdown" => property["description"] }]
values
end