summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-05-01 21:41:37 -0700
committerTim Smith <tsmith84@gmail.com>2020-05-01 21:41:37 -0700
commit2a4bf3ee6d9c4ab35ea9516df163c1ea8fff2d56 (patch)
tree44f06f0d19536aeef8f7e21226b48d8332c8d04b /tasks
parent5457f106474d6a669f0a4a64232bfdd6b7ae4de5 (diff)
downloadchef-2a4bf3ee6d9c4ab35ea9516df163c1ea8fff2d56.tar.gz
Bump the ignored default length to 45
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 79c77025d1..7d74c6078a 100755
--- a/tasks/docs.rb
+++ b/tasks/docs.rb
@@ -38,7 +38,7 @@ namespace :docs_site do
text << " #{p["name"].ljust(padding_size)}"
text << friendly_types_list(p["is"])
text << " # default value: 'name' unless specified" if p["name_property"]
- text << " # default value: #{pretty_default}" unless pretty_default.nil? || (pretty_default.is_a?(String) && pretty_default.length > 40) # 40 chars is too long for these example blocks
+ text << " # default value: #{pretty_default}" unless pretty_default.nil? || (pretty_default.is_a?(String) && pretty_default.length > 45) # 45 chars is too long for these example blocks
text << "\n"
end
text << " #{"action".ljust(padding_size)}Symbol # defaults to :#{default_action.first} if not specified\n"