summaryrefslogtreecommitdiff
path: root/tasks/docs.rb
diff options
context:
space:
mode:
authorskippy <jonathan.yates.jones@gmail.com>2019-11-17 17:45:15 +0000
committerskippy <jonathan.yates.jones@gmail.com>2019-11-17 17:45:15 +0000
commitb2a69fa7f4461ccf2000bfeea05ed98ab995fa7d (patch)
tree43209faa52b7780e88ff09b109f7897013713c23 /tasks/docs.rb
parent37c52233266920f457e5053607cec6d13e66144c (diff)
downloadchef-b2a69fa7f4461ccf2000bfeea05ed98ab995fa7d.tar.gz
Resolved all chefstyle failures
Signed-off-by: Jonathan Jones <gitmaster@thespooky.house>
Diffstat (limited to 'tasks/docs.rb')
-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