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(all): a single allowed value causes failure #661

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

TheRealAmazonKendra
Copy link
Collaborator

We are checking for the second value of allowed values first when checking for booleans. This causes a failure when only one allowed value is provided for a parameter.

This PR includes the template that is being tested against but not the test cases because there are still other failures. The next PR will include the test cases and a fix for the bug preventing a successful run.

Fixes part of aws/aws-cdk#29752

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

We are checking for the second value of allowed values first when checking for booleans. This causes a failure when only one allowed value
is provided for a parameter.
Copy link
Contributor

@colifran colifran left a comment

Choose a reason for hiding this comment

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

LGTM!

@cdklabs-automation cdklabs-automation added this pull request to the merge queue Apr 30, 2024
Merged via the queue into main with commit a484aa1 Apr 30, 2024
6 checks passed
@cdklabs-automation cdklabs-automation deleted the TheRealAmazonKendra/boolean branch April 30, 2024 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants