Ver Fonte

skip ops marked as broken in database

Brian Gough há 11 anos atrás
pai
commit
54d1036e37
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      services/track-changes/app/coffee/DiffGenerator.coffee

+ 1 - 1
services/track-changes/app/coffee/DiffGenerator.coffee

@@ -11,7 +11,7 @@ module.exports = DiffGenerator =
 	ConsistencyError: ConsistencyError
 	ConsistencyError: ConsistencyError
 
 
 	rewindUpdate: (content, update) ->
 	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
 			try
 				content = DiffGenerator.rewindOp content, op
 				content = DiffGenerator.rewindOp content, op
 			catch e
 			catch e