Skip to content

Commit 8471b3c

Browse files
kaizenccgithub-actions
and
github-actions
authored
fix: resetting the npm follower cache deletes all known versions (#1692)
---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --------- Signed-off-by: github-actions <github-actions@github.com> Co-authored-by: github-actions <github-actions@github.com>
1 parent 811959a commit 8471b3c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/__tests__/__snapshots__/construct-hub.test.ts.snap

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/__tests__/devapp/__snapshots__/snapshot.test.ts.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/package-sources/npmjs/npm-js-follower.lambda.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ async function loadLastTransactionMarker(
277277
console.warn(
278278
`Current DB update_seq (${dbUpdateSeq}) is lower than marker (CouchDB instance was likely replaced), resetting to 0!`
279279
);
280-
return { marker: '0', knownVersions: data.knownVersion };
280+
return { marker: '0', knownVersions: data.knownVersions };
281281
}
282282

283283
return data;

0 commit comments

Comments
 (0)