terminal/doc/cascadia
NotWearingPants fd93c54ae3
Change action names in schema to match without regex (#11520)
## Summary of the Pull Request
Currently when configuring the action
```json
{ "command": { "action": "closeTabsAfter" } }
```
we get a schema error in VSCode: `Matches multiple schemas when only one must validate.`.

The problem is that it matches both `closeTabsAfter` and `closeTab`, since the schema uses regex patterns to match instead of plain strings. I swapped the usage of `"pattern"` with `"const"` for all actions.

## PR Checklist
* [ ] Closes #xxx
* [x] CLA signed
* [ ] Tests added/passed
* [ ] Documentation updated
* [x] Schema updated
* [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan

## Detailed Description of the Pull Request / Additional comments

## Validation Steps Performed
I checked and this action configuration no longer errors.
2021-10-18 16:24:35 -05:00
..
AddASetting.md Introduce a basic ApplicationState class (#10513) 2021-06-30 02:25:44 +02:00
Json-Utility-API.md Rework JsonUtils' optional handling to let Converters see null (#8175) 2020-11-09 15:13:02 -08:00
SettingsSchema.md Replace the "user docs" with references to the real docs (#7649) 2020-09-17 09:38:01 -07:00
Unittesting-CppWinRT-Xaml.md Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
profiles.schema.json Change action names in schema to match without regex (#11520) 2021-10-18 16:24:35 -05:00