Skip to content

Commit

Permalink
Allow specific builder config to override the common config for pinne…
Browse files Browse the repository at this point in the history
…d dependencies (#1209)

* Allow specific builder config to override the common config for pinned deps

* Add CHANGELOG entry
  • Loading branch information
mairatma authored Jul 30, 2024
1 parent 1c5a20d commit 6af50b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- handle OPTIONS request for CORS
- update `publish-stable-aws` pipeline

### Changed
- Allow specific builder config to override the common config for pinned dependencies

## [4.0.4] - 2023-11-03

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/api/pinnedDependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export const fixPinnedDependencies = async (
}

const pinnedDepsForBuilder = {
...pinnedDeps.builders[builder]?.[builderMajorLocator],
...pinnedDeps.common,
...pinnedDeps.builders[builder]?.[builderMajorLocator],
}

return fixBuilderFolderPinnedDeps(appRoot, builder, pinnedDepsForBuilder)
Expand Down

0 comments on commit 6af50b2

Please sign in to comment.