Fix matches of multiple schemas on "colorScheme"#15748
Merged
carlos-zamora merged 2 commits intomicrosoft:mainfrom Jul 27, 2023
Merged
Fix matches of multiple schemas on "colorScheme"#15748carlos-zamora merged 2 commits intomicrosoft:mainfrom
carlos-zamora merged 2 commits intomicrosoft:mainfrom
Conversation
Contributor
Author
|
@microsoft-github-policy-service agree |
lhecker
approved these changes
Jul 24, 2023
carlos-zamora
approved these changes
Jul 27, 2023
Member
|
Thanks for doing this! |
Member
Member
|
thanks so much! marked for servicing to 1.17 and 1.18 |
DHowett
pushed a commit
that referenced
this pull request
Jul 27, 2023
Adds proper `type` for `SchemePair` definition to avoid warnings about matches of multiple schemas. Same fix as #4045 ## Validation Steps Performed - Pointed $schema to local file instead of https://aka.ms/terminal-profiles-schema - Confirmed warning goes away when using a string - Confirmed using the light/dark object format still passes validation - Confirmed values like `"colorScheme": 3` no longer incorrectly pass validation whereas they would before (cherry picked from commit 57b9549) Service-Card-Id: 90012052 Service-Version: 1.17
DHowett
pushed a commit
that referenced
this pull request
Jul 27, 2023
Adds proper `type` for `SchemePair` definition to avoid warnings about matches of multiple schemas. Same fix as #4045 ## Validation Steps Performed - Pointed $schema to local file instead of https://aka.ms/terminal-profiles-schema - Confirmed warning goes away when using a string - Confirmed using the light/dark object format still passes validation - Confirmed values like `"colorScheme": 3` no longer incorrectly pass validation whereas they would before (cherry picked from commit 57b9549) Service-Card-Id: 90012053 Service-Version: 1.18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Adds proper
typeforSchemePairdefinition to avoid warnings about matches of multiple schemas.Same fix as #4045
Validation Steps Performed
"colorScheme": 3no longer incorrectly pass validation whereas they would before