Skip to content

Commit

Permalink
fix(release): respect updateDependents being explicitly disabled in c…
Browse files Browse the repository at this point in the history
…onventional commits (#27851)
  • Loading branch information
JamesHenry authored Sep 10, 2024
1 parent e4a9650 commit 0c449b4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,10 @@ To fix this you will either need to add a package.json file at that location, or
);

if (!specifier) {
if (projectToDependencyBumps.has(projectName)) {
if (
updateDependents !== 'never' &&
projectToDependencyBumps.has(projectName)
) {
// No applicable changes to the project directly by the user, but one or more dependencies have been bumped and updateDependents is enabled
specifier = updateDependentsBump;
logger.buffer(
Expand Down

0 comments on commit 0c449b4

Please sign in to comment.