Skip to content

Commit 58ab633

Browse files
committed
style(mcp): satisfy clang-format
Signed-off-by: Mustapha <m88e54ik@gmail.com>
1 parent 986f9fd commit 58ab633

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎src/mcp/mcp.c‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -643,8 +643,9 @@ static const tool_def_t TOOLS[] = {
643643
{"manage_adr", "Manage ADR", "Create or update Architecture Decision Records",
644644
"{\"type\":\"object\",\"properties\":{\"project\":{\"type\":\"string\"},\"mode\":{\"type\":"
645645
"\"string\",\"enum\":[\"get\",\"update\",\"sections\"],\"description\":\"update replaces "
646-
"the entire ADR document; sections only lists existing headings\"},\"content\":{\"type\":\"string\","
647-
"\"description\":\"Complete replacement document required by update\"}},\"additionalProperties\":false,"
646+
"the entire ADR document; sections only lists existing "
647+
"headings\"},\"content\":{\"type\":\"string\",\"description\":\"Complete replacement document "
648+
"required by update\"}},\"additionalProperties\":false,"
648649
"\"required\":[\"project\"]}"},
649650

650651
{"ingest_traces", "Ingest traces", "Ingest runtime traces to enhance the knowledge graph",
@@ -10167,8 +10168,8 @@ static char *handle_manage_adr(cbm_mcp_server_t *srv, const char *args) {
1016710168
yyjson_doc *args_doc = yyjson_read(args, strlen(args), 0);
1016810169
if (args_doc) {
1016910170
yyjson_val *args_root = yyjson_doc_get_root(args_doc);
10170-
has_sections_arg = args_root && yyjson_is_obj(args_root) &&
10171-
yyjson_obj_get(args_root, "sections") != NULL;
10171+
has_sections_arg =
10172+
args_root && yyjson_is_obj(args_root) && yyjson_obj_get(args_root, "sections") != NULL;
1017210173
yyjson_doc_free(args_doc);
1017310174
}
1017410175
if (has_sections_arg) {

0 commit comments

Comments
 (0)