Skip to content

Commit

Permalink
Fixup eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
eoghanmurray committed Aug 2, 2024
1 parent b932c98 commit 876b109
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rrweb-snapshot/src/rebuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ export function applyCssSplits(
hackCss: boolean,
cache: BuildCache,
): void {
let childTextNodes: serializedTextNodeWithId[] = [];
for (let scn of n.childNodes) {
const childTextNodes: serializedTextNodeWithId[] = [];
for (const scn of n.childNodes) {
if (scn.type === NodeType.Text) {
childTextNodes.push(scn);
}
Expand Down

0 comments on commit 876b109

Please sign in to comment.