diff options
author | Tim Smith <tsmith84@gmail.com> | 2019-06-26 15:41:03 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2019-06-26 15:41:03 -0700 |
commit | f1ab8c0666ca376b988517f603e6e6fc19c8d64c (patch) | |
tree | 55d9f5bd4e5d5712bbb435f3b1e1b1a6d5c50167 /tasks | |
parent | b5d3d032ebc6b716f6a8788535adc32805d99711 (diff) | |
download | chef-f1ab8c0666ca376b988517f603e6e6fc19c8d64c.tar.gz |
Chefstyle fixes
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks')
-rwxr-xr-x | tasks/docs.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb index 88b9360758..0adebce0b6 100755 --- a/tasks/docs.rb +++ b/tasks/docs.rb @@ -9,7 +9,7 @@ namespace :docs_site do require "chef/resource_inspector" require "erb" - require 'fileutils' + require "fileutils" # @return [String, nil] a pretty defaul value string or nil if we want to skip it def pretty_default(default) @@ -103,7 +103,7 @@ namespace :docs_site do .. note:: #{note} - HEREDOC + HEREDOC end end @@ -312,7 +312,7 @@ namespace :docs_site do ========================================== } - FileUtils.mkdir_p 'docs_site' + FileUtils.mkdir_p "docs_site" resources = Chef::JSONCompat.parse(ResourceInspector.inspect) resources.each do |resource, data| next if ["scm", "whyrun_safe_ruby_block", "l_w_r_p_base", "user_resource_abstract_base_class", "linux_user", "pw_user", "aix_user", "dscl_user", "solaris_user", "windows_user", ""].include?(resource) |