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

Guard GoThemePicker against trying to persist null elements. #2817

Merged

Conversation

GreenAsJade
Copy link
Contributor

Fixes a stream of PersistentElement warnings

Proposed Changes

  • Don't instantiate PersistentElement with null target in GoThemePicker.

FWIW ChatGPT thinks that PersistentElement should throw in that case, since it feels the caller is clearly in error. I wasn't sure enough about it to do that :)

Copy link

github-actions bot commented Sep 9, 2024

Uffizzi Preview deployment-56006 was deleted.

@anoek
Copy link
Member

anoek commented Sep 9, 2024

Yuck, not sure how I missed that. Thanks for the fix!

@anoek anoek merged commit bc5f2c8 into online-go:devel Sep 9, 2024
4 checks passed
@ryanbishopj
Copy link

518f602

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.

3 participants