Skip to content

Commit

Permalink
Samll fix for JetBrains
Browse files Browse the repository at this point in the history
  • Loading branch information
pkukielka committed Jan 7, 2025
1 parent 1b034fd commit 129682b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/src/AgentWorkspaceConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 129682b

Please sign in to comment.