File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,8 @@ export class Patch implements Printable {
120
120
for ( let i = 0 ; i < length ; i ++ ) {
121
121
const op = ops [ i ] ;
122
122
if ( op instanceof operations . DelOp ) patchOps . push ( new operations . DelOp ( ts ( op . id ) , ts ( op . obj ) , op . what ) ) ;
123
- else if ( op instanceof operations . NewConOp ) patchOps . push ( new operations . NewConOp ( ts ( op . id ) , op . val instanceof Timestamp ? ts ( op . val ) : op . val ) ) ;
123
+ else if ( op instanceof operations . NewConOp )
124
+ patchOps . push ( new operations . NewConOp ( ts ( op . id ) , op . val instanceof Timestamp ? ts ( op . val ) : op . val ) ) ;
124
125
else if ( op instanceof operations . NewVecOp ) patchOps . push ( new operations . NewVecOp ( ts ( op . id ) ) ) ;
125
126
else if ( op instanceof operations . NewValOp ) patchOps . push ( new operations . NewValOp ( ts ( op . id ) ) ) ;
126
127
else if ( op instanceof operations . NewObjOp ) patchOps . push ( new operations . NewObjOp ( ts ( op . id ) ) ) ;
You can’t perform that action at this time.
0 commit comments