diff options
Diffstat (limited to 'tasks')
-rwxr-xr-x | tasks/docs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb index c53b4aa58e..954bfa6059 100755 --- a/tasks/docs.rb +++ b/tasks/docs.rb @@ -141,7 +141,7 @@ namespace :docs_site do def friendly_default_value(property) return "The resource block's name" if property["name_property"] - return nil if property["default"].nil? + return nil if property["default"].nil? || property["default"] == "" # this way we properly print out a string of a hash or an array instead of just the values property["default"].to_s |