summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2019-11-15 16:08:00 -0800
committerTim Smith <tsmith84@gmail.com>2019-11-15 16:08:00 -0800
commit91a79ad502a1d5e5d789292320e2f23ae3df004a (patch)
tree82aad67a45f6826408cfd3dfbf7de7b5478cad9f /tasks
parent36ced2f214001d8b302dd555b7f29356db78174c (diff)
downloadchef-91a79ad502a1d5e5d789292320e2f23ae3df004a.tar.gz
Chefstyle fixes
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks')
-rwxr-xr-xtasks/docs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb
index 643eaee7a6..c347445c2e 100755
--- a/tasks/docs.rb
+++ b/tasks/docs.rb
@@ -26,7 +26,7 @@ namespace :docs_site do
if default.is_a?(String)
# .inspect wraps the value in quotes which we want for strings, but not sentences or symbols as strings
- return default.inspect unless default[0] == ":" || default.end_with?('.')
+ return default.inspect unless default[0] == ":" || default.end_with?(".")
end
default
end