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 Check for Updates button #264

Closed
wants to merge 1 commit into from
Closed

Fix Check for Updates button #264

wants to merge 1 commit into from

Conversation

valarnin
Copy link

@valarnin valarnin commented May 9, 2022

Fixes #263.
Probably there's a better way to do this but I'm not very familiar with C# reflection code, so I just went with what worked.

@quisquous
Copy link

In the interim, could cactbot have a Cactbot.ILogger type that is ILogger that would keep this working from the cactbot side until this lands?

@valarnin
Copy link
Author

I don't think it will, because of the way it's looking for the constructor as far as I understand it.

It'll only match the exact interface specified, so cactbot would have to switch back to the extended ILogger interface and we'd be back to square one/the chicken and egg problem we have here.

Maybe there's a different way to target the constructor in question, but as I stated above, I'm not very familiar with C# reflection.

@valarnin valarnin closed this by deleting the head repository Aug 20, 2022
ngld pushed a commit that referenced this pull request Jun 29, 2024
Add editorconfig for jsonc
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.

Check for Updates button broken after latest cactbot update
2 participants