Skip to content

Commit 378e05c

Browse files
committed
style(json-crdt-patch): 💄 run Prettier
1 parent 6d3cdf7 commit 378e05c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/json-crdt-patch/Patch.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ export class Patch implements Printable {
120120
for (let i = 0; i < length; i++) {
121121
const op = ops[i];
122122
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));
124125
else if (op instanceof operations.NewVecOp) patchOps.push(new operations.NewVecOp(ts(op.id)));
125126
else if (op instanceof operations.NewValOp) patchOps.push(new operations.NewValOp(ts(op.id)));
126127
else if (op instanceof operations.NewObjOp) patchOps.push(new operations.NewObjOp(ts(op.id)));

0 commit comments

Comments
 (0)