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 warning on nil comparison #307

Merged
merged 1 commit into from
Jan 6, 2025
Merged

Fix warning on nil comparison #307

merged 1 commit into from
Jan 6, 2025

Conversation

ekohl
Copy link
Contributor

@ekohl ekohl commented Dec 10, 2024

This uses the more efficient /regex/.match?(value) syntax that also doesn't raise any warning if id is nil.

This uses the more efficient /regex/.match?(value) syntax that also
doesn't raise any warning if id is nil.
@chris1984 chris1984 merged commit d971ad5 into fog:master Jan 6, 2025
1 of 5 checks passed
@ekohl ekohl deleted the fix-warning branch January 6, 2025 16:25
@ekohl
Copy link
Contributor Author

ekohl commented Jan 6, 2025

@chris1984 are you sure the change didn't cause those test failures?

@chris1984
Copy link
Collaborator

chris1984 commented Jan 6, 2025

Blah, I did not mean to hit merge, was adding that I would start testing it with the quick responses and my browser crashed. Let me revert and test it, if it's not related we can remerge. Acked it based on the code looking fine at a first glance.

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