Skip to content

Commit 1980e72

Browse files
authored
schema: add Microsoft.WSL profile source to schema, width its type (#19047)
WSL now generates profiles with the source named `Microsoft.WSL`, this PR adds the value to the profile schema. Refs #18231
1 parent 00ee884 commit 1980e72

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

doc/cascadia/profiles.schema.json

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,21 @@
3232
]
3333
},
3434
"DynamicProfileSource": {
35-
"enum": [
36-
"Windows.Terminal.Wsl",
37-
"Windows.Terminal.Azure",
38-
"Windows.Terminal.PowershellCore",
39-
"Windows.Terminal.VisualStudio"
40-
],
41-
"type": "string"
35+
"type": "string",
36+
"anyOf": [
37+
{
38+
"type": "string"
39+
},
40+
{
41+
"enum": [
42+
"Microsoft.WSL",
43+
"Windows.Terminal.Wsl",
44+
"Windows.Terminal.Azure",
45+
"Windows.Terminal.PowershellCore",
46+
"Windows.Terminal.VisualStudio"
47+
]
48+
}
49+
]
4250
},
4351
"BellStyle": {
4452
"oneOf": [

0 commit comments

Comments
 (0)