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 keyring existence check #533

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Conversation

1000TurquoisePogs
Copy link
Member

In prior code, the saf variable would be undefined when there are no keyrings. In the latest code, it is always defined as an array, but could be empty. Each if (saf) check therefore needs to check length instead of existence.

Signed-off-by: 1000TurquoisePogs <[email protected]>
@struga0258 struga0258 self-requested a review February 2, 2024 14:18
@1000TurquoisePogs 1000TurquoisePogs merged commit c824fd2 into v2.x/rc Feb 2, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

2 participants