Skip to content

Commit

Permalink
Apply formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mdellanoce authored and github-actions[bot] committed Sep 7, 2023
1 parent 464df83 commit a1ce992
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/rrweb/src/record/mutation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ class DoubleLinkedList {
public defragment() {
let current = this.head;
while (current) {
let next = current.next;
this.removeNode(current.value);
this.addNode(current.value);
current = next;
let next = current.next;
this.removeNode(current.value);
this.addNode(current.value);
current = next;
}
}
}
Expand Down Expand Up @@ -378,7 +378,7 @@ export default class MutationBuffer {
}

let candidate: DoubleLinkedListNode | null = null;
addList.defragment()
addList.defragment();
while (addList.length) {
let node: DoubleLinkedListNode | null = null;
if (candidate) {
Expand Down

0 comments on commit a1ce992

Please sign in to comment.