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
fix: updated template file to fix whitespace issue. #237
fix: updated template file to fix whitespace issue. #237
Conversation
If there is no import defined for a resource, tfplugindocs generates empty whitespaces at the end of the generated document. This PR is fixing this issue. For our provider, we need this change, is there anything we can do to support you folks? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi there 👋🏻 , thanks for the PR! I left one small suggestion.
Co-authored-by: Austin Valle <austinvalle@gmail.com>
Thanks @austinvalle and @serdardalgic 👍 , I taken the suggestion of @austinvalle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution @YanniHu1996 & @serdardalgic !
The change will be released with our next feature or bug release of In the meantime, you can install the commit (e8f8eb1) specific version of the tool (or branch, whatever better fits your need): go get -u github.com/hashicorp/terraform-plugin-docs@e8f8eb1f6dbb047551ceedd48e7810c6c6661d03 |
Updated template file to keep whitespace appear once at the end of the file