Skip to content

Commit 15b6be9

Browse files
mikeyagnergithub-actions[bot]
authored andcommitted
Apply formatting changes
1 parent ac862c4 commit 15b6be9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/rrweb/src/record/mutation.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ export default class MutationBuffer {
371371
if (
372372
isParentRemoved(this.removesSubTreeCache, n, this.mirror) &&
373373
!this.movedSet.has(parentNode!) &&
374-
(!this.addedSet.has(parentNode!))
374+
!this.addedSet.has(parentNode!)
375375
) {
376376
continue;
377377
}

packages/rrweb/src/replay/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ import {
8383
getPositionsAndIndex,
8484
uniqueTextMutations,
8585
StyleSheetMirror,
86-
type ResolveTree
86+
type ResolveTree,
8787
} from '../utils';
8888
import getInjectStyleRules from './styles/inject-style';
8989
import './styles/style.css';
@@ -1714,7 +1714,7 @@ export class Replayer {
17141714
ids.add(tree.value.node.id);
17151715
if (tree.children && tree.children.length > 1) {
17161716
const res = nodeIdsToBeAdded(tree.children);
1717-
res.forEach(id => ids.add(id));
1717+
res.forEach((id) => ids.add(id));
17181718
}
17191719
}
17201720
return ids;

0 commit comments

Comments
 (0)