mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
skip ops marked as broken in database
This commit is contained in:
parent
2a7c33d7ca
commit
54d1036e37
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ module.exports = DiffGenerator =
|
|||
ConsistencyError: ConsistencyError
|
||||
|
||||
rewindUpdate: (content, update) ->
|
||||
for op, i in update.op by -1
|
||||
for op, i in update.op by -1 when op.broken isnt true
|
||||
try
|
||||
content = DiffGenerator.rewindOp content, op
|
||||
catch e
|
||||
|
|
Loading…
Reference in a new issue