Merge pull request #8368 from overleaf/msm-fix-infinite-loop

[track-changes] Fix pack skipping

GitOrigin-RevId: 820f41d920f4ae739ade6697d8f153cfdfd36563
This commit is contained in:
Miguel Serrano 2022-06-10 12:08:20 +02:00 committed by Copybot
parent fef395f431
commit 93f1339b87

View file

@ -90,6 +90,8 @@ async function rewindDoc(projectId, docId, zipfile) {
while (update) { while (update) {
if (packsAreDuplicated(update, previousUpdate)) { if (packsAreDuplicated(update, previousUpdate)) {
previousUpdate = update
update = await getUpdate()
continue continue
} }