Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writes the delimiters for an empty attribute description #264

Open
michaeltlombardi opened this issue Nov 19, 2020 · 0 comments
Open

Writes the delimiters for an empty attribute description #264

michaeltlombardi opened this issue Nov 19, 2020 · 0 comments

Comments

@michaeltlombardi
Copy link
Contributor

Describe the Bug

If a Puppet Resource API type attribute has an empty description of '' or "" then that is literally what will be placed in the output instead of nil/an empty line.

Expected Behavior

A type attribute with an empty string for a description writes an empty line under its header and type.

Steps to Reproduce

  1. Change the descriptor of any attribute in a Puppet Resource API Type to an empty string.
  2. pdk bundle exec puppet strings generate --format markdown --out REFERENCE.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants