Skip to content

Commit

Permalink
Merge pull request #25750 from qmonmert/sonarS6959
Browse files Browse the repository at this point in the history
Sonar: Add an initial value to this reduce() call
  • Loading branch information
DanielFran authored Apr 4, 2024
2 parents 2bd4e31 + dbcec03 commit b82f8e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class ConfigurationService {
Object.values(
Object.values(configProps.contexts)
.map(context => context.beans)
.reduce((allBeans: Beans, contextBeans: Beans) => ({ ...allBeans, ...contextBeans }))
.reduce((allBeans: Beans, contextBeans: Beans) => ({ ...allBeans, ...contextBeans }), {})
)
)
);
Expand Down

0 comments on commit b82f8e9

Please sign in to comment.