Skip to content

Commit

Permalink
const -> let
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Oct 6, 2023
1 parent 5d57689 commit d2ba4c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export default function (api, req, opts, metadata, dbOpts, idbChanges, callback)

// If there have been revisions stemmed when merging trees,
// delete their data
const revsToDelete = doc.stemmedRevs || [];
let revsToDelete = doc.stemmedRevs || [];

if (autoCompaction && !isNewDoc) {
revsToDelete = revsToDelete.concat(compactTree(doc));
Expand Down

0 comments on commit d2ba4c1

Please sign in to comment.