Skip to content

Commit

Permalink
fix: needsBootstrap computation also considers tags (#1915)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeff Ching <chingor@google.com>
  • Loading branch information
alex-enchi and chingor13 committed Apr 11, 2023
1 parent b08e155 commit 2773b6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,6 @@ export class Manifest {
}
}

const needsBootstrap = releasesFound < expectedReleases;
if (releasesFound < expectedReleases) {
this.logger.warn(
`Expected ${expectedReleases} releases, only found ${releasesFound}`
Expand All @@ -563,6 +562,9 @@ export class Manifest {
releasesFound++;
}
}

const needsBootstrap = releasesFound < expectedReleases;

if (releasesFound < expectedReleases) {
this.logger.warn(
`Expected ${expectedReleases} releases, only found ${releasesFound}`
Expand Down

0 comments on commit 2773b6e

Please sign in to comment.