Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove unnecessary ternary expression in whois lookup #175

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vcokltfre
Copy link

This minor PR cleans a ternary expression into a simple comparison for improved clarity, as it's easier to understand what logic is being followed this way, rather than having to try and work out a ternary in your head, and also because the result of the comparison is already a boolean value it makes sense to use that value directly.

@vcokltfre vcokltfre requested a review from uetchy as a code owner November 19, 2022 11:09
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants