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:
Martin Vogel
2026-05-29 02:54:00 +02:00
parent dcd9ea61d4
commit ef25ca0727
+2 -1
View File
@@ -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;