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: processing example is failing when example contains jsdoc annotated export (backport #1170) #1216

Merged

Conversation

aws-cdk-automation
Copy link
Contributor

Backport

This will backport the following commits from main to maintenance/v5.2:

Questions ?

Please refer to the Backport tool documentation

…ted export (#1170)

Fixes #1161

The code to process statements was making some incorrect assumptions
about how the AST looks like.
This fix is making it more resilient to unexpected AST structures.

---

By submitting this pull request, I confirm that my contribution is made
under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0

---------

Signed-off-by: Momo Kornher <kornherm@amazon.co.uk>
(cherry picked from commit b41e905)
@aws-cdk-automation aws-cdk-automation added this pull request to the merge queue Apr 23, 2024
Merged via the queue into maintenance/v5.2 with commit e60563d Apr 23, 2024
8 checks passed
@aws-cdk-automation aws-cdk-automation deleted the backport/maintenance/v5.2/pr-1170 branch April 23, 2024 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants