Skip to content

Conversation

@nichwch
Copy link
Contributor

@nichwch nichwch commented Jul 2, 2024

Using falsy checks instead of None checks against output is vulnerable to cases where output is an empty string.

@CalebCourier CalebCourier changed the base branch from main to 0.5.0-dev July 2, 2024 21:37
Copy link
Contributor

@JosephCatrambone JosephCatrambone left a comment

Choose a reason for hiding this comment

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

Good catches.

@nichwch nichwch merged commit 961bac8 into 0.5.0-dev Jul 2, 2024
@nichwch nichwch deleted the nichwch/none-check branch July 2, 2024 21:53
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.

2 participants