Просмотр исходного кода

Merge pull request #12098 from overleaf/bg-fix-debug-history-script

fix incorrect log.op call in debug_history script

GitOrigin-RevId: 363fa9072493895003c8e506e6e2545ab5e89f00
Brian Gough 3 лет назад
Родитель
Сommit
38973fb971
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/web/scripts/history/debug_history.js

+ 1 - 1
services/web/scripts/history/debug_history.js

@@ -252,7 +252,7 @@ async function rewindDoc(projectId, docId) {
     for (let i = update.op.length - 1; i >= 0; i--) {
       const op = update.op[i]
       if (op.broken === true) {
-        log.op('skipped', op)
+        log.op('skipped', content, op)
         continue
       }
       try {