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 if source is in enabled_providers before calling source:enabled #266

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

stefanboca
Copy link
Collaborator

This avoids calling source:enabled if the source is not enabled, reducing the possibility for misconfigured, disabled providers to cause problems.

I ran into this issue in blink.compat when I removed a proxied provider from enabled_providers and removed its plugin, but left its provider config in the providers table.

@Saghen Saghen merged commit 338d2a6 into Saghen:main Nov 5, 2024
@Saghen
Copy link
Owner

Saghen commented Nov 5, 2024

Makes sense, thanks! P.S. awesome work on the .compat module :)

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