Skip to content

Commit

Permalink
chore: fix ?
Browse files Browse the repository at this point in the history
  • Loading branch information
reggi committed Dec 18, 2024
1 parent 6e7b733 commit 984acfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const main = async ({loglevel, releases: rawReleases, useCurrent, navPath, conte
* this voids the cache when a new version is added to release.json / not in the cli-cache.json
* this is done so that the previous major versions nav can be reset to legacy and pages can be droped from its variant
*/
cache.voidOnNewKey(releases.map(v => v.id))
cache?.voidOnNewKey(releases.map(v => v.id))

const updates = await Promise.all(
releases.map(r => extractRelease(r, {cache, contentPath, baseNav: navData, prerelease})),
Expand Down

0 comments on commit 984acfd

Please sign in to comment.