Przeglądaj źródła

skip ops marked as broken in database

Brian Gough 11 lat temu
rodzic
commit
54d1036e37

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

@@ -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