Skip to content

Commit

Permalink
Make schema compliant by fixing CloseTab* index definitions (#8547)
Browse files Browse the repository at this point in the history
* The index field should be of type `"null"` and not `null`.
* The default value should be `null` and not `""`

Closes #8024
  • Loading branch information
Don-Vito committed Dec 11, 2020
1 parent f751cad commit 4111be3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/cascadia/profiles.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,9 @@
"index": {
"oneOf": [
{ "type": "integer" },
{ "type": null }
{ "type": "null" }
],
"default": "",
"default": null,
"description": "Close the tabs other than the one at this index. If no index is provided, use the focused tab's index."
}
}
Expand All @@ -472,9 +472,9 @@
"index": {
"oneOf": [
{ "type": "integer" },
{ "type": null }
{ "type": "null" }
],
"default": "",
"default": null,
"description": "Close the tabs following the tab at this index. If no index is provided, use the focused tab's index."
}
}
Expand Down

0 comments on commit 4111be3

Please sign in to comment.