Explorar el Código

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 hace 3 años
padre
commit
38973fb971
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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--) {
     for (let i = update.op.length - 1; i >= 0; i--) {
       const op = update.op[i]
       const op = update.op[i]
       if (op.broken === true) {
       if (op.broken === true) {
-        log.op('skipped', op)
+        log.op('skipped', content, op)
         continue
         continue
       }
       }
       try {
       try {