Skip to content

Commit

Permalink
fix: fix nextType resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Mar 5, 2022
1 parent 0a53bfd commit 606914b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/updateDeps.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ const getDependentRelease = (pkg, bumpStrategy, releaseStrategy, ignore) => {
// Has changed if...
// 1. Any local dep package itself has changed
// 2. Any local dep package has local deps that have changed.
const nextType = resolveReleaseType(p, bumpStrategy, releaseStrategy,[...ignore, p]);
const nextType = resolveReleaseType(p, bumpStrategy, releaseStrategy,[...ignore, pkg]);
const nextVersion =
nextType
// Update the nextVersion only if there is a next type to be bumped
Expand Down

0 comments on commit 606914b

Please sign in to comment.