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

Auto-configure a default custom configuration provider even if default.compilerPath is set #10607

Merged
merged 1 commit into from
Feb 28, 2023

Conversation

Colengms
Copy link
Contributor

@Colengms Colengms commented Feb 28, 2023

This logic is intended to auto-configure a detected custom configuration provider if no other configuration information is found. Since we may now write a compiler to the default.compilerPath setting, if needed to identify a trustable compiler, it seems like we should disregard when only that is set when determining whether to automatically use a custom configuration provider.

Whether this is the correct behavior may be open for debate. For instance, if someone were intentionally using just default.compilerPath to configure their environment, this may wind up using a custom configuration provider where they don't want it to.

@Colengms Colengms merged commit 7a76ee1 into main Feb 28, 2023
@Colengms Colengms deleted the coleng/auto_provider branch February 28, 2023 00:44
@github-actions github-actions bot locked and limited conversation to collaborators Apr 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants