mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-09 09:11:00 +08:00
style: wrap cbm_strndup call in path_alias.c for clang-format-20
The strndup->cbm_strndup rename pushed the line past the column limit; reflow to satisfy the clang-format-20 lint check.
This commit is contained in:
@@ -204,7 +204,8 @@ static cbm_path_alias_map_t *load_tsconfig_file(const char *abs_path, const char
|
||||
const char *star = strchr(alias_pattern, '*');
|
||||
if (star) {
|
||||
entry->has_wildcard = true;
|
||||
entry->alias_prefix = cbm_strndup(alias_pattern, (size_t)(star - alias_pattern));
|
||||
entry->alias_prefix =
|
||||
cbm_strndup(alias_pattern, (size_t)(star - alias_pattern));
|
||||
entry->alias_suffix = strdup(star + 1);
|
||||
} else {
|
||||
entry->has_wildcard = false;
|
||||
|
||||
Reference in New Issue
Block a user