config: move src/commands/config-schema.json back to src/

I think this is an oversight of moving things into commands/ module.
This commit is contained in:
Yuya Nishihara 2023-02-05 17:32:46 +09:00
parent 5bfecf112a
commit a7e2c06068
3 changed files with 2 additions and 2 deletions

View File

@ -13,5 +13,5 @@ https://github.com/martinvonz/jj/blob/main/docs/contributing.md for details.
If applicable:
- [ ] I have updated `CHANGELOG.md`
- [ ] I have updated the documentation (README.md, docs/, demos/)
- [ ] I have updated the config schema (src/commands/config-schema.json)
- [ ] I have updated the config schema (src/config-schema.json)
- [ ] I have added tests to cover my changes

View File

@ -2936,7 +2936,7 @@ fn cmd_debug(
}
DebugCommands::ConfigSchema(_config_schema_matches) => {
// TODO(#879): Consider generating entire schema dynamically vs. static file.
let buf = include_bytes!("config-schema.json");
let buf = include_bytes!("../config-schema.json");
ui.stdout_formatter().write_all(buf)?;
}
DebugCommands::ResolveRev(resolve_matches) => {