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

Don't warn for $schema element #6927

Merged
merged 1 commit into from Dec 23, 2020
Merged

Don't warn for $schema element #6927

merged 1 commit into from Dec 23, 2020

Conversation

kzu
Copy link
Contributor

@kzu kzu commented Dec 22, 2020

Adding a $schema attribute pointing to the official schema is a nice way to get completion in an editor. This caused a warning during build, however.

This checks for that element when building the commands so we don't warn for what is already a supported scenario.

Fixes Using $schema to get completion causes a build warning #6926

Microsoft Reviewers: Open in CodeFlow

Adding a `$schema` attribute pointing to the official schema is a nice way to get completion in an editor. This caused a warning during build, however.

This checks for that element when building the commands so we don't warn for what is already a supported scenario.

Fixes Using $schema to get completion causes a build warning dotnet#6926
Copy link
Contributor

@yufeih yufeih left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix, looks good to me 🔥

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.

None yet

2 participants