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 conditions with empty values falsely evaluating to true #14606

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

aptkingston
Copy link
Member

@aptkingston aptkingston commented Sep 19, 2024

Description

Fixes an issue when evaluating conditions which meant that empty values were falsely treated as the condition passing.

Before - empty value matching the condition and the new text setting being incorrectly applied:
image

After - not matching on an empty value:
image

After - matching when the condition is actually true:
image

Addresses

@aptkingston aptkingston marked this pull request as ready for review September 19, 2024 08:29
Copy link
Contributor

@deanhannigan deanhannigan left a comment

Choose a reason for hiding this comment

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

LGTM!

@aptkingston aptkingston merged commit 706bc9f into master Sep 19, 2024
12 checks passed
@aptkingston aptkingston deleted the fix-empty-conditions branch September 19, 2024 13:16
@github-actions github-actions bot locked and limited conversation to collaborators Sep 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants