diff --git a/clients/tabby-agent/src/config/index.ts b/clients/tabby-agent/src/config/index.ts index da64206b5c21..759c669a7a2c 100644 --- a/clients/tabby-agent/src/config/index.ts +++ b/clients/tabby-agent/src/config/index.ts @@ -32,6 +32,8 @@ const mergeFunction = deepmergeCustom({ const nonBlankStringValues = values.filter((value) => typeof value === "string" && !isBlank(value)); if (nonBlankStringValues.length > 0) { return utils.defaultMergeFunctions.mergeOthers(nonBlankStringValues); + } else { + return ""; } } return utils.actions.defaultMerge;