Jelajahi Sumber

skip ops marked as broken in database

Brian Gough 11 tahun lalu
induk
melakukan
54d1036e37
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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