summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'tasks')
-rwxr-xr-xtasks/docs.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb
index 60e646afe9..a14f118f86 100755
--- a/tasks/docs.rb
+++ b/tasks/docs.rb
@@ -255,10 +255,7 @@ namespace :docs_site do
properties["ruby_style_basics_chef_log"] = name == "log"
- properties["syntax_shortcode"] =
- if name == "log"
- "resource_log_syntax.md"
- end
+ properties["syntax_shortcode"] = "resource_log_syntax.md" if name == "log"
properties["template_requirements"] = name == "template"