From 129682b003f02c2e738310ec45d76a599df2c68d Mon Sep 17 00:00:00 2001 From: Piotr Kukielka Date: Tue, 7 Jan 2025 17:04:51 +0100 Subject: [PATCH] Samll fix for JetBrains --- agent/src/AgentWorkspaceConfiguration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/src/AgentWorkspaceConfiguration.ts b/agent/src/AgentWorkspaceConfiguration.ts index ac8df4a37045..58e504f1e970 100644 --- a/agent/src/AgentWorkspaceConfiguration.ts +++ b/agent/src/AgentWorkspaceConfiguration.ts @@ -116,7 +116,7 @@ export class AgentWorkspaceConfiguration implements vscode.WorkspaceConfiguratio function mergeWithBaseConfig(config: any) { for (const [key, value] of Object.entries(config)) { - if (typeof value === 'object') { + if (typeof value === 'object' && !Array.isArray(value)) { const existing = _.get(baseConfig, key) ?? {} const merged = _.merge(existing, value) _.set(baseConfig, key, merged)