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

fix(provider-generator): make sanitize comments function robust against diverse inputs #3131

Merged
merged 9 commits into from
Sep 18, 2023

Conversation

DanielMSchmidt
Copy link
Contributor

Closes #3128

Copy link
Member

@ansgarm ansgarm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, although the added * in front of lines of the comments (as seen in tests) seems to only look nicer 😄

Can we add a test case that actually contains the closing directive */ that failed #3128? Our closest only has /* and I'd like to be sure that this fixes the problem in #3128

@DanielMSchmidt
Copy link
Contributor Author

@ansgarm I thought we added one when we introduced this functionality originally in #2990 but we didn't. I can add a test case

@DanielMSchmidt
Copy link
Contributor Author

Added a test case 👍

@github-actions
Copy link
Contributor

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

invalid code generate by cdktf get
4 participants